Class NodeObjectImpl
java.lang.Object
de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
de.uni_trier.wi2.procake.data.object.wf.impl.AbstractWorkflowItemObjectImpl
de.uni_trier.wi2.procake.data.object.wf.impl.StatusableObjectImpl
de.uni_trier.wi2.procake.data.object.wf.impl.ControlflowItemObjectImpl
de.uni_trier.wi2.procake.data.object.wf.impl.ParentItemObjectImpl<SequenceObject>
de.uni_trier.wi2.procake.data.object.wf.impl.NodeObjectImpl
- All Implemented Interfaces:
DataObject
,AbstractWorkflowItemObject
,ControlflowItemObject
,NodeObject
,ParentItemObject<SequenceObject>
,SequencedObject
,StatusableObject
,PropertyHandler
public class NodeObjectImpl
extends ParentItemObjectImpl<SequenceObject>
implements NodeObject, SequencedObject
Node-object used in the controlflow of a workflow. CAKE III - Extension. Refer to the
corresponding Interface
NodeObject
for more information.- Author:
- Sebastian Goerg
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.data.object.wf.NodeObject
NodeObject.TYPES
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
StatusableObject.STATES
-
Field Summary
Fields inherited from class de.uni_trier.wi2.procake.data.object.wf.impl.AbstractWorkflowItemObjectImpl
workflow
Fields inherited from class de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
objectId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addSequence
(SequenceObject newItem) Adds the given item to the last position in the sequence-list.protected void
distributeWorkflowObject
(WorkflowObject workflow) Informs all subWorkflowObjects about getting a new workflow-items.Returns the complete list of the sequences.getType()
Returns the type of the node.boolean
removeSequence
(String id) Removes the sequence with the given id.void
setType
(NodeObject.TYPES type) Sets the type for the node.toString()
Methods inherited from class de.uni_trier.wi2.procake.data.object.wf.impl.ParentItemObjectImpl
addItem, deepSearchItem, getFirstItem, getItem, getItems, getNextSibling, getPreviousSibling, insertAfter, insertBefore, removeItem
Methods inherited from class de.uni_trier.wi2.procake.data.object.wf.impl.ControlflowItemObjectImpl
getNextSibling, getParent, getPreviousSibling, insertAfterMe, insertBeforeMe, setParent
Methods inherited from class de.uni_trier.wi2.procake.data.object.wf.impl.StatusableObjectImpl
getStatus, setStatus
Methods inherited from class de.uni_trier.wi2.procake.data.object.wf.impl.AbstractWorkflowItemObjectImpl
assertSameValueAsIn, getSemanticDescriptor, getWFItemId, getWorkflow, hasSameValueAsIn, publishAddItem, publishRemoveItem, setSemanticDescriptor, setWFItemId, setWorkflow
Methods inherited from class de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
addProperty, addProperty, copy, deepCopy, getAllProperties, getAllPropertyNodes, getDataClass, getId, getModel, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasClassName, hasProperties, hasSystemClassName, isAggregate, isAtomic, isBoolean, isByteArray, isChronologic, isCollection, isDataflowWrapper, isDataReference, isDate, isDouble, isInteger, isInterval, isKindOf, isList, isMemberOf, isNESTConstraintEdge, isNESTControlflowEdge, isNESTControlflowNode, isNESTDataflowEdge, isNESTDataNode, isNESTEdge, isNESTGraph, isNESTNode, isNESTPartOfEdge, isNESTSequenceNode, isNESTSequentialWorkflow, isNESTSubWorkflowNode, isNESTTaskNode, isNESTWorkflow, isNESTWorkflowNode, isNode, isNumeric, isSequence, isSet, isString, isSubWorkflow, isTask, isTime, isTimestamp, isUnion, isURI, isVoid, isWorkflow, removeId, removeProperty, setDataClass, setId, setPropertyRootNode, toDetailedString, toXML
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.object.wf.AbstractWorkflowItemObject
getSemanticDescriptor, getWFItemId, getWorkflow, setSemanticDescriptor, setWFItemId, setWorkflow
Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.ControlflowItemObject
getNextSibling, getParent, getPreviousSibling, insertAfterMe, insertBeforeMe
Methods inherited from interface de.uni_trier.wi2.procake.data.object.DataObject
assertSameValueAsIn, copy, getDataClass, getId, getModel, hasClassName, hasSameValueAsIn, hasSystemClassName, isAggregate, isAtomic, isBoolean, isByteArray, isChronologic, isCollection, isDataflowWrapper, isDataReference, isDate, isDouble, isInteger, isInterval, isKindOf, isList, isMemberOf, isNESTConstraintEdge, isNESTControlflowEdge, isNESTControlflowNode, isNESTDataflowEdge, isNESTDataNode, isNESTEdge, isNESTGraph, isNESTNode, isNESTPartOfEdge, isNESTSequenceNode, isNESTSequentialWorkflow, isNESTSubWorkflowNode, isNESTTaskNode, isNESTWorkflow, isNESTWorkflowNode, isNode, isNumeric, isSequence, isSet, isString, isSubWorkflow, isTask, isTime, isTimestamp, isUnion, isURI, isVoid, isWorkflow, removeId, setDataClass, setId, toDetailedString, toXML
Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.ParentItemObject
addItem, deepSearchItem, getFirstItem, getItem, getItems, getNextSibling, getPreviousSibling, insertAfter, insertBefore, removeItem
Methods inherited from interface de.uni_trier.wi2.procake.data.PropertyHandler
addProperty, addProperty, getAllProperties, getAllPropertyNodes, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasProperties, removeProperty, setPropertyRootNode
Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
getStatus, setStatus
-
Constructor Details
-
NodeObjectImpl
Standard constructor- Parameters:
dataClass
-
-
-
Method Details
-
getType
Description copied from interface:NodeObject
Returns the type of the node.- Specified by:
getType
in interfaceNodeObject
- Returns:
- Type of the node
-
setType
Description copied from interface:NodeObject
Sets the type for the node.- Specified by:
setType
in interfaceNodeObject
- Parameters:
type
- Type of the node.
-
toString
- Overrides:
toString
in classDataObjectImpl
-
addSequence
Description copied from interface:NodeObject
Adds the given item to the last position in the sequence-list.- Specified by:
addSequence
in interfaceNodeObject
- Parameters:
newItem
- New Sequence.
-
getSequences
Description copied from interface:NodeObject
Returns the complete list of the sequences.- Specified by:
getSequences
in interfaceNodeObject
- Returns:
- List of sequences.
-
removeSequence
Description copied from interface:NodeObject
Removes the sequence with the given id.- Specified by:
removeSequence
in interfaceNodeObject
- Parameters:
id
- Id of the item.
-
distributeWorkflowObject
Description copied from class:AbstractWorkflowItemObjectImpl
Informs all subWorkflowObjects about getting a new workflow-items.- Specified by:
distributeWorkflowObject
in classAbstractWorkflowItemObjectImpl
-