Interface NodeObject
-
- All Superinterfaces:
AbstractWorkflowItemObject,ControlflowItemObject,DataObject,ParentItemObject<SequenceObject>,PropertyHandler,SequencedObject,StatusableObject
- All Known Implementing Classes:
NodeObjectImpl
public interface NodeObject extends ParentItemObject<SequenceObject>, SequencedObject
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 Modifier and Type Interface Description static classNodeObject.TYPESAllowed types of a node.-
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
StatusableObject.STATES
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddSequence(SequenceObject newItem)Adds the given item to the last position in the sequence-list.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.-
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
-
-
-
-
Method Detail
-
getType
NodeObject.TYPES getType()
Returns the type of the node.- Returns:
- Type of the node
-
setType
void setType(NodeObject.TYPES type)
Sets the type for the node.- Parameters:
type- Type of the node.
-
addSequence
boolean addSequence(SequenceObject newItem)
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
boolean removeSequence(String id)
Removes the sequence with the given id.- Parameters:
id- Id of the item.
-
-