Class AbstractWorkflowItemObjectImpl
java.lang.Object
de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
de.uni_trier.wi2.procake.data.object.wf.impl.AbstractWorkflowItemObjectImpl
- All Implemented Interfaces:
DataObject
,AbstractWorkflowItemObject
,PropertyHandler
- Direct Known Subclasses:
DataflowWrapperObjectImpl
,DataReferenceObjectImpl
,StatusableObjectImpl
public abstract class AbstractWorkflowItemObjectImpl
extends DataObjectImpl
implements AbstractWorkflowItemObject
Abstract object used in a workflow. CAKE III - Extension. Refer to the corresponding Interface
AbstractWorkflowItemObject
for more information.- Author:
- Alexander Stromer
-
Field Summary
Modifier and TypeFieldDescriptionprotected WorkflowObject
Stores the workflow-object to which this controlflow-object is connected to.Fields inherited from class de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
objectId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assertSameValueAsIn
(DataObject object) protected abstract void
distributeWorkflowObject
(WorkflowObject workflow) Informs all subWorkflowObjects about getting a new workflow-items.Returns additional information for this workflow-element.Returns the workflow-unique reference-ID of this element.Returns the workflow associated with this controlflow-item.boolean
hasSameValueAsIn
(DataObject object) This method makes a deep compare.protected void
publishAddItem
(AbstractWorkflowItemObject newItem) Informs registered eventlisteners about an ADD-change of the block-oriented workflow-representation.protected void
publishRemoveItem
(AbstractWorkflowItemObject removedItem) Informs registered eventlisteners about a REMOVE-change of the block-oriented workflow-representation.void
setSemanticDescriptor
(DataObject newObject) Sets additional information for this workflow-element.void
setWFItemId
(String id) Sets the workflow-unique reference-ID of this element.void
setWorkflow
(WorkflowObject workflow) Sets the workflow where this item is integrated.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, toString, 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.DataObject
copy, getDataClass, getId, getModel, hasClassName, 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.PropertyHandler
addProperty, addProperty, getAllProperties, getAllPropertyNodes, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasProperties, removeProperty, setPropertyRootNode
-
Field Details
-
workflow
Stores the workflow-object to which this controlflow-object is connected to.
-
-
Constructor Details
-
AbstractWorkflowItemObjectImpl
Standard constructor- Parameters:
dataClass
-
-
-
Method Details
-
getWFItemId
Description copied from interface:AbstractWorkflowItemObject
Returns the workflow-unique reference-ID of this element.- Specified by:
getWFItemId
in interfaceAbstractWorkflowItemObject
- Returns:
- Unique ID
-
setWFItemId
Description copied from interface:AbstractWorkflowItemObject
Sets the workflow-unique reference-ID of this element.- Specified by:
setWFItemId
in interfaceAbstractWorkflowItemObject
- Parameters:
id
- Unique ID
-
getSemanticDescriptor
Description copied from interface:AbstractWorkflowItemObject
Returns additional information for this workflow-element.- Specified by:
getSemanticDescriptor
in interfaceAbstractWorkflowItemObject
- Returns:
- Additional information.
-
setSemanticDescriptor
Description copied from interface:AbstractWorkflowItemObject
Sets additional information for this workflow-element.- Specified by:
setSemanticDescriptor
in interfaceAbstractWorkflowItemObject
- Parameters:
newObject
- Additional information.
-
getWorkflow
Description copied from interface:AbstractWorkflowItemObject
Returns the workflow associated with this controlflow-item.- Specified by:
getWorkflow
in interfaceAbstractWorkflowItemObject
- Returns:
- The workflow-object for this item.
-
setWorkflow
Description copied from interface:AbstractWorkflowItemObject
Sets the workflow where this item is integrated.- Specified by:
setWorkflow
in interfaceAbstractWorkflowItemObject
- Parameters:
workflow
- The workflow for this item.
-
publishAddItem
Informs registered eventlisteners about an ADD-change of the block-oriented workflow-representation.- Parameters:
newItem
- The item, which was added.
-
publishRemoveItem
Informs registered eventlisteners about a REMOVE-change of the block-oriented workflow-representation.- Parameters:
removedItem
- The id of the item, which was removed.
-
distributeWorkflowObject
Informs all subWorkflowObjects about getting a new workflow-items. -
hasSameValueAsIn
Description copied from interface:DataObject
This method makes a deep compare. For atomic objects this is equal to theequal
method. For sets, lists, aggregates, and others a deeper comparision is performed.- Specified by:
hasSameValueAsIn
in interfaceDataObject
- Overrides:
hasSameValueAsIn
in classDataObjectImpl
- Parameters:
object
- The object to compare.- Returns:
true
if the givenobject
has the same value(s) as this one.
-
assertSameValueAsIn
- Specified by:
assertSameValueAsIn
in interfaceDataObject
- Overrides:
assertSameValueAsIn
in classDataObjectImpl
- Throws:
AssertSameValueAsInException
-