Interface NodeObject
- All Superinterfaces:
AbstractWorkflowItemObject
,ControlflowItemObject
,DataObject
,ParentItemObject<SequenceObject>
,PropertyHandler
,SequencedObject
,StatusableObject
- All Known Implementing Classes:
NodeObjectImpl
Interface of a node-object used in the controlflow of a workflow. CAKE III - Extension.
Represents a logical operation applied to sequences.
- Author:
- Sebastian Goerg
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
StatusableObject.STATES
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addSequence
(SequenceObject newItem) Adds the given item to the last position in the sequence-list.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.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
-
Method Details
-
getType
NodeObject.TYPES getType()Returns the type of the node.- Returns:
- Type of the node
-
setType
Sets the type for the node.- Parameters:
type
- Type of the node.
-
addSequence
Adds the given item to the last position in the sequence-list.- Parameters:
newItem
- New Sequence.
-
getSequences
LinkedList<SequenceObject> getSequences()Returns the complete list of the sequences.- Returns:
- List of sequences.
-
removeSequence
Removes the sequence with the given id.- Parameters:
id
- Id of the item.
-