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 InterfaceNodeObjectfor 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
Constructors Constructor Description NodeObjectImpl(DataClass dataClass)Standard constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddSequence(SequenceObject newItem)Adds the given item to the last position in the sequence-list.protected voiddistributeWorkflowObject(WorkflowObject workflow)Informs all subWorkflowObjects about getting a new workflow-items.LinkedList<SequenceObject>getSequences()Returns the complete list of the sequences.NodeObject.TYPESgetType()Returns the type of the node.booleanremoveSequence(String id)Removes the sequence with the given id.voidsetType(NodeObject.TYPES type)Sets the type for the node.StringtoString()-
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, 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
-
Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
getStatus, setStatus
-
-
-
-
Constructor Detail
-
NodeObjectImpl
public NodeObjectImpl(DataClass dataClass)
Standard constructor- Parameters:
dataClass-
-
-
Method Detail
-
getType
public NodeObject.TYPES getType()
Description copied from interface:NodeObjectReturns the type of the node.- Specified by:
getTypein interfaceNodeObject- Returns:
- Type of the node
-
setType
public void setType(NodeObject.TYPES type)
Description copied from interface:NodeObjectSets the type for the node.- Specified by:
setTypein interfaceNodeObject- Parameters:
type- Type of the node.
-
toString
public String toString()
- Overrides:
toStringin classDataObjectImpl
-
addSequence
public boolean addSequence(SequenceObject newItem)
Description copied from interface:NodeObjectAdds the given item to the last position in the sequence-list.- Specified by:
addSequencein interfaceNodeObject- Parameters:
newItem- New Sequence.
-
getSequences
public LinkedList<SequenceObject> getSequences()
Description copied from interface:NodeObjectReturns the complete list of the sequences.- Specified by:
getSequencesin interfaceNodeObject- Returns:
- List of sequences.
-
removeSequence
public boolean removeSequence(String id)
Description copied from interface:NodeObjectRemoves the sequence with the given id.- Specified by:
removeSequencein interfaceNodeObject- Parameters:
id- Id of the item.
-
distributeWorkflowObject
protected void distributeWorkflowObject(WorkflowObject workflow)
Description copied from class:AbstractWorkflowItemObjectImplInforms all subWorkflowObjects about getting a new workflow-items.- Specified by:
distributeWorkflowObjectin classAbstractWorkflowItemObjectImpl
-
-