Interface ChangeableInstance
-
- All Superinterfaces:
ChangePrimitives
,Instance
,LocalisedString
,PluginDataContainer
,Serializable
,UserAttributeContainer
public interface ChangeableInstance extends ChangePrimitives, Instance
An instance which provides all necessary change primitives for modifications on instance level.
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
Generated ID for serialisation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceDeltaLayer
getDeltaLayer()
Returns a reference to the delta layer of the instance, or null if the instance is unchanged.void
setNodeIteration(int nodeID, int iteration)
This function sets the iteration counter of the given node to the given value.void
setNodeState(int nodeID, ProcessConstants.NodeState state)
Sets the state of the node.-
Methods inherited from interface de.aristaflow.adept2.model.processmodel.ChangePrimitives
addDataEdge, addDataEdge, addDataElement, addDisabledConnector, addEdge, addMovedNode, addNode, endTransaction, reMapDataElement, removeDataEdge, removeDataElement, removeDisabledConnector, removeEdge, removeNode, removeUserAttribute, setBranchID, setCorrespondingBlockNode, setInputParameters, setName, setNodeType, setOutputParameters, setSplitNodeID, setSupervisorAgent, startTransaction, updateDataEdge, updateDataElement, updateEdge, updateExecutableBusinessProcess, updateNode, updatePluginDataContainer, updateUserAttribute
-
Methods inherited from interface de.aristaflow.adept2.model.processmodel.Instance
getBaseTemplateID, getCreationTime, getEdgeState, getExecutionMode, getID, getInitiatorAgent, getLogID, getName, getNodeIteration, getNodeLWPInstanceID, getNodeLWPInstanceID, getNodeState, getParentEBPReference, getPerformingAgent, getSupervisorAgent, getTemplate, isModified, isStructurallyModified
-
Methods inherited from interface de.aristaflow.adept2.model.common.i18n.LocalisedString
toLocalisedString
-
Methods inherited from interface de.aristaflow.adept2.model.common.PluginDataContainer
getPluginData, getPluginDatas, getSupportedPlugins
-
Methods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
Generated ID for serialisation.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDeltaLayer
InstanceDeltaLayer getDeltaLayer()
Returns a reference to the delta layer of the instance, or null if the instance is unchanged.- Returns:
- The delta layer of the instance, or null.
-
setNodeState
void setNodeState(int nodeID, ProcessConstants.NodeState state)
Sets the state of the node.- Parameters:
nodeID
- The ID of the node.state
- The new state of the node.- See Also:
ProcessConstants.NodeState
-
setNodeIteration
void setNodeIteration(int nodeID, int iteration)
This function sets the iteration counter of the given node to the given value. Note: this function should not be used by the execution classes to set a correct node iteration in case of a loop execution.- Parameters:
nodeID
- The ID of the node.iteration
- The value for the iteration counter.- See Also:
Instance.getNodeIteration(int)
-
-