Interface SequenceObject
- All Superinterfaces:
AbstractWorkflowItemObject
,ControlflowItemObject
,DataObject
,ParentItemObject<SequencedObject>
,PropertyHandler
,StatusableObject
- All Known Implementing Classes:
SequenceObjectImpl
Interface of a sequence-object used in the controlflow of a workflow. CAKE III - Extension.
Represents a continuous stream of items.
- Author:
- Sebastian Goerg
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
StatusableObject.STATES
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addItem
(SequencedObject newItem) Adds the given item to the end of the sequence.getItems()
Returns the complete list of items.boolean
removeItem
(String id) Removes the item with the given id.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
deepSearchItem, getFirstItem, getItem, getNextSibling, getPreviousSibling, insertAfter, insertBefore
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
-
Field Details
-
LOG_OBJECT_NOT_FOUND
- See Also:
-
-
Method Details
-
addItem
Adds the given item to the end of the sequence.- Specified by:
addItem
in interfaceParentItemObject<SequencedObject>
- Parameters:
newItem
- New item.- Returns:
- TRUE, if the add-operation was successful; FALSE otherwise.
-
getItems
LinkedList<SequencedObject> getItems()Returns the complete list of items.- Specified by:
getItems
in interfaceParentItemObject<SequencedObject>
- Returns:
- List of items.
-
removeItem
Removes the item with the given id.- Specified by:
removeItem
in interfaceParentItemObject<SequencedObject>
- Parameters:
id
- id of the item.- Returns:
- TRUE, if an object with the given Id was removed. FALSE otherwise.
-