Class SequenceObjectImpl
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<SequencedObject>
de.uni_trier.wi2.procake.data.object.wf.impl.SequenceObjectImpl
- All Implemented Interfaces:
DataObject
,AbstractWorkflowItemObject
,ControlflowItemObject
,ParentItemObject<SequencedObject>
,SequenceObject
,StatusableObject
,PropertyHandler
public class SequenceObjectImpl
extends ParentItemObjectImpl<SequencedObject>
implements SequenceObject
Sequence-object used in the controlflow of a workflow. CAKE III - Extension. Refer to the
corresponding Interface
SequenceObject
for more information.- 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 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
Fields inherited from interface de.uni_trier.wi2.procake.data.object.wf.SequenceObject
LOG_OBJECT_NOT_FOUND
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addItem
(SequencedObject newItem) Adds the given object to the list of items.protected void
distributeWorkflowObject
(WorkflowObject workflow) Informs all subWorkflowObjects about getting a new workflow-items.getItems()
Returns the list of items, sorted according to the operations done on the list.boolean
removeItem
(String id) Removes the item with the given id of the list.toString()
Methods inherited from class de.uni_trier.wi2.procake.data.object.wf.impl.ParentItemObjectImpl
deepSearchItem, getFirstItem, getItem, getNextSibling, getPreviousSibling, insertAfter, insertBefore
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, setPropertyRootNode, 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
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
-
Constructor Details
-
SequenceObjectImpl
Standard constructor- Parameters:
dataClass
-
-
-
Method Details
-
toString
- Overrides:
toString
in classDataObjectImpl
-
addItem
Description copied from interface:ParentItemObject
Adds the given object to the list of items.- Specified by:
addItem
in interfaceParentItemObject<SequencedObject>
- Specified by:
addItem
in interfaceSequenceObject
- Overrides:
addItem
in classParentItemObjectImpl<SequencedObject>
- Parameters:
newItem
- The object, which has to be added.- Returns:
- TRUE, if the add-operation was successful; FALSE otherwise.
-
getItems
Description copied from interface:ParentItemObject
Returns the list of items, sorted according to the operations done on the list.- Specified by:
getItems
in interfaceParentItemObject<SequencedObject>
- Specified by:
getItems
in interfaceSequenceObject
- Overrides:
getItems
in classParentItemObjectImpl<SequencedObject>
- Returns:
- Ordered list of items.
-
removeItem
Description copied from interface:ParentItemObject
Removes the item with the given id of the list.- Specified by:
removeItem
in interfaceParentItemObject<SequencedObject>
- Specified by:
removeItem
in interfaceSequenceObject
- Overrides:
removeItem
in classParentItemObjectImpl<SequencedObject>
- Parameters:
id
- Id of the item to remove.- Returns:
- TRUE, if an object with the given Id was removed. FALSE otherwise.
-
distributeWorkflowObject
Description copied from class:AbstractWorkflowItemObjectImpl
Informs all subWorkflowObjects about getting a new workflow-items.- Specified by:
distributeWorkflowObject
in classAbstractWorkflowItemObjectImpl
-