Class NESTGraphItemClassImpl
- java.lang.Object
-
- de.uni_trier.wi2.procake.data.model.impl.AbstractDataClassImpl
-
- de.uni_trier.wi2.procake.data.model.nest.impl.NESTGraphItemClassImpl
-
- All Implemented Interfaces:
DataClass,NESTGraphItemClass,PropertyHandler
- Direct Known Subclasses:
NESTEdgeClassImpl,NESTNodeClassImpl
public class NESTGraphItemClassImpl extends AbstractDataClassImpl implements NESTGraphItemClass
Concrete implementation of the CAKE I - datatype.- Author:
- Alexander Stromer
-
-
Field Summary
-
Fields inherited from interface de.uni_trier.wi2.procake.data.model.DataClass
CLASS_NAME, COMPONENT, COMPONENT_KEY, LOG_ABSTRACT_CLASS_NOT_INSTANTIABLE, LOG_ABSTRACT_SYSTEM_SUBCLASS_CREATION_FAILED, LOG_CLASS_NOT_EDITABLE, LOG_CLASS_NOT_INSTANTIABLE, LOG_EDITABLE_CLASS_NOT_INSTANTIABLE, LOG_FINISH_EDIT_FAILED, LOG_GET_SUPERCLASSES_FAILED, LOG_SUBCLASS_CREATION_FAILED
-
Fields inherited from interface de.uni_trier.wi2.procake.data.model.nest.NESTGraphItemClass
CLASS_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description NESTGraphItemClassImpl()protectedNESTGraphItemClassImpl(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconformToModel(Model other)Checks whether the semantic descriptor class is conform to given model.protected voidcreateSystemSubClasses()createSystemSubClasses.DataClassgetSemanticDescriptorClass()booleanisNESTGraphItem()isNESTGraphItem.voidsetSemanticDescriptorClass(DataClass semanticDescriptorClass)Set the data class of the semantic descriptor-
Methods inherited from class de.uni_trier.wi2.procake.data.model.impl.AbstractDataClassImpl
addProperty, addProperty, addSubclass, addSubClass, beSystemClass, checkEditability, checkFinishEditing, checkInstantiability, clearSubClasses, createSubclass, createSystemClassTree, finishEditing, getAllProperties, getAllPropertyNodes, getModel, getName, getObjectClass, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, getRootClass, getSubClasses, getSuperClass, getSuperClasses, getSystemClassName, getSystemSuperClass, hasProperties, includeClass, isAbstract, isAdaptationCase, isAggregate, isAtomic, isBoolean, isByteArray, isCake2DataReference, isChronologic, isCollection, isControlflowItem, isDataflowWrapper, isDate, isDouble, isEditable, isInstantiable, isInteger, isInterval, isList, isNESTAdaptationQuery, isNESTAdaptationRule, isNESTAdaptationSession, isNESTAdaptationStep, isNESTConstraintEdge, isNESTControlflowEdge, isNESTControlflowNode, isNESTDataflowEdge, isNESTDataNode, isNESTEdge, isNESTGraph, isNESTNode, isNESTPartOfEdge, isNESTQuery, isNESTSequenceNode, isNESTSequentialWorkflow, isNESTSubWorkflowNode, isNESTTaskNode, isNESTWorkflow, isNESTWorkflowNode, isNode, isNumeric, isParentItem, isSequence, isSet, isString, isSubclassOf, isSubWorkflow, isSystemClass, isTask, isTime, isTimestamp, isUnion, isURI, isVoid, isWorkflow, isWorkflowCase, isWorkflowItem, newObject, removeProperty, removeSubclass, removeSubClass, setAbstract, setName, setSuperClass, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.uni_trier.wi2.procake.data.model.DataClass
addSubclass, checkInstantiability, createSubclass, finishEditing, getModel, getName, getObjectClass, getSubClasses, getSuperClass, getSuperClasses, getSystemClassName, getSystemSuperClass, includeClass, isAbstract, isAggregate, isAtomic, isBoolean, isByteArray, isCake2DataReference, isChronologic, isCollection, isControlflowItem, isDataflowWrapper, isDate, isDouble, isEditable, isInstantiable, isInteger, isInterval, isList, isNESTConstraintEdge, isNESTControlflowEdge, isNESTControlflowNode, isNESTDataflowEdge, isNESTDataNode, isNESTEdge, isNESTGraph, isNESTNode, isNESTPartOfEdge, isNESTSequenceNode, isNESTSequentialWorkflow, isNESTSubWorkflowNode, isNESTTaskNode, isNESTWorkflow, isNESTWorkflowNode, isNode, isNumeric, isParentItem, isSequence, isSet, isString, isSubclassOf, isSubWorkflow, isSystemClass, isTask, isTime, isTimestamp, isUnion, isURI, isVoid, isWorkflow, isWorkflowItem, newObject, removeSubclass, setAbstract, setName
-
Methods inherited from interface de.uni_trier.wi2.procake.data.PropertyHandler
addProperty, addProperty, getAllProperties, getAllPropertyNodes, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasProperties, removeProperty
-
-
-
-
Constructor Detail
-
NESTGraphItemClassImpl
public NESTGraphItemClassImpl()
-
NESTGraphItemClassImpl
protected NESTGraphItemClassImpl(String name)
-
-
Method Detail
-
createSystemSubClasses
protected void createSystemSubClasses()
Description copied from class:AbstractDataClassImplcreateSystemSubClasses.
- Specified by:
createSystemSubClassesin classAbstractDataClassImpl
-
isNESTGraphItem
public boolean isNESTGraphItem()
Description copied from class:AbstractDataClassImplisNESTGraphItem.
- Specified by:
isNESTGraphItemin interfaceDataClass- Overrides:
isNESTGraphItemin classAbstractDataClassImpl- Returns:
trueif the data class can be casted toNESTGraphItemClass
-
getSemanticDescriptorClass
public DataClass getSemanticDescriptorClass()
- Specified by:
getSemanticDescriptorClassin interfaceNESTGraphItemClass- Returns:
- The data class of the semantic descriptor
-
setSemanticDescriptorClass
public void setSemanticDescriptorClass(DataClass semanticDescriptorClass)
Description copied from interface:NESTGraphItemClassSet the data class of the semantic descriptor- Specified by:
setSemanticDescriptorClassin interfaceNESTGraphItemClass- Parameters:
semanticDescriptorClass- data class
-
conformToModel
public void conformToModel(Model other)
Checks whether the semantic descriptor class is conform to given model. If aDataClassis used which is present in the given model but with different reference, it will be replaced.- Parameters:
other- The other data model to which this nest item class should conform to
-
-