Class NESTDataNodeClassImpl
- java.lang.Object
-
- de.uni_trier.wi2.procake.data.model.impl.AbstractDataClassImpl
-
- de.uni_trier.wi2.procake.data.model.nest.impl.NESTGraphItemClassImpl
-
- de.uni_trier.wi2.procake.data.model.nest.impl.NESTNodeClassImpl
-
- de.uni_trier.wi2.procake.data.model.nest.impl.NESTDataNodeClassImpl
-
- All Implemented Interfaces:
DataClass,NESTDataNodeClass,NESTGraphItemClass,NESTNodeClass,PropertyHandler
public class NESTDataNodeClassImpl extends NESTNodeClassImpl implements NESTDataNodeClass
Concrete implementation of the datatypeNESTDataNodeClass.- 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.NESTDataNodeClass
CLASS_NAME, ID_PREFIX
-
Fields inherited from interface de.uni_trier.wi2.procake.data.model.nest.NESTGraphItemClass
CLASS_NAME
-
Fields inherited from interface de.uni_trier.wi2.procake.data.model.nest.NESTNodeClass
CLASS_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description NESTDataNodeClassImpl()protectedNESTDataNodeClassImpl(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateSystemSubClasses()createSystemSubClasses.Class<? extends DataObject>getObjectClass()getObjectClass.booleanisNESTDataNode()isNESTDataNode.DataObjectnewObject()Creates a newDataObjectand initialize it.-
Methods inherited from class de.uni_trier.wi2.procake.data.model.nest.impl.NESTNodeClassImpl
isNESTNode
-
Methods inherited from class de.uni_trier.wi2.procake.data.model.nest.impl.NESTGraphItemClassImpl
conformToModel, getSemanticDescriptorClass, isNESTGraphItem, setSemanticDescriptorClass
-
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, 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, isNESTEdge, isNESTGraph, 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, 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, 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, isNESTEdge, isNESTGraph, isNESTGraphItem, 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, removeSubclass, setAbstract, setName
-
Methods inherited from interface de.uni_trier.wi2.procake.data.model.nest.NESTGraphItemClass
getSemanticDescriptorClass, setSemanticDescriptorClass
-
Methods inherited from interface de.uni_trier.wi2.procake.data.PropertyHandler
addProperty, addProperty, getAllProperties, getAllPropertyNodes, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasProperties, removeProperty
-
-
-
-
Constructor Detail
-
NESTDataNodeClassImpl
public NESTDataNodeClassImpl()
-
NESTDataNodeClassImpl
protected NESTDataNodeClassImpl(String name)
-
-
Method Detail
-
createSystemSubClasses
protected void createSystemSubClasses()
Description copied from class:AbstractDataClassImplcreateSystemSubClasses.
- Overrides:
createSystemSubClassesin classNESTNodeClassImpl
-
newObject
public DataObject newObject() throws IllegalInstantiationException
Description copied from class:AbstractDataClassImplCreates a newDataObjectand initialize it.DataObjects can not be created directly because they depend on theDataClassthat defines the object.The creation of a new object is only be possible if
DataClass.checkInstantiability()throws no exception.- Specified by:
newObjectin interfaceDataClass- Overrides:
newObjectin classNESTNodeClassImpl- Returns:
- a new
DataObject - Throws:
IllegalInstantiationException- is thrown if it is not possible to create an object this data class
-
getObjectClass
public Class<? extends DataObject> getObjectClass()
Description copied from class:AbstractDataClassImplgetObjectClass.
- Specified by:
getObjectClassin interfaceDataClass- Overrides:
getObjectClassin classNESTNodeClassImpl- Returns:
- Class of the corresponding data object
-
isNESTDataNode
public boolean isNESTDataNode()
Description copied from class:AbstractDataClassImplisNESTDataNode.
- Specified by:
isNESTDataNodein interfaceDataClass- Overrides:
isNESTDataNodein classAbstractDataClassImpl- Returns:
trueif the data class can be casted toNESTDataNodeClass
-
-