Interface SequenceObject
-
- All Superinterfaces:
AbstractWorkflowItemObject,ControlflowItemObject,DataObject,ParentItemObject<SequencedObject>,PropertyHandler,StatusableObject
- All Known Implementing Classes:
SequenceObjectImpl
public interface SequenceObject extends ParentItemObject<SequencedObject>
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
Fields Modifier and Type Field Description static StringCOMPONENTComponent: "cake.data.objects" (LogComponentIdentifier.COMPONENT)static StringCOMPONENT_KEYComponent-Key: "27" (LogComponentIdentifier.COMPONENT_KEY_AGGREGATEOBJECT)static StringLOG_OBJECT_NOT_FOUNDThe requested object was not found in the array.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddItem(SequencedObject newItem)Adds the given item to the end of the sequence.LinkedList<SequencedObject>getItems()Returns the complete list of items.booleanremoveItem(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
-
Methods inherited from interface de.uni_trier.wi2.procake.data.object.wf.StatusableObject
getStatus, setStatus
-
-
-
-
Field Detail
-
COMPONENT
static final String COMPONENT
Component: "cake.data.objects" (LogComponentIdentifier.COMPONENT)- See Also:
- Constant Field Values
-
COMPONENT_KEY
static final String COMPONENT_KEY
Component-Key: "27" (LogComponentIdentifier.COMPONENT_KEY_AGGREGATEOBJECT)- See Also:
- Constant Field Values
-
LOG_OBJECT_NOT_FOUND
static final String LOG_OBJECT_NOT_FOUND
The requested object was not found in the array.- Component:
COMPONENT - Key: "2700"
- this
- Number of elements in list
- Requested index
- See Also:
- Constant Field Values
- Component:
-
-
Method Detail
-
addItem
boolean addItem(SequencedObject newItem)
Adds the given item to the end of the sequence.- Specified by:
addItemin 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:
getItemsin interfaceParentItemObject<SequencedObject>- Returns:
- List of items.
-
removeItem
boolean removeItem(String id)
Removes the item with the given id.- Specified by:
removeItemin interfaceParentItemObject<SequencedObject>- Parameters:
id- id of the item.- Returns:
- TRUE, if an object with the given Id was removed. FALSE otherwise.
-
-