Interface ChangeableInstance
- All Superinterfaces:
ChangePrimitives,Instance,LocalisedString,PluginDataContainer,Serializable,UserAttributeContainer
An instance which provides all necessary change primitives
for modifications on instance level.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longGenerated ID for serialisation. -
Method Summary
Modifier and TypeMethodDescriptionReturns a reference to the delta layer of the instance, or null if the instance is unchanged.voidsetNodeIteration(int nodeID, int iteration) This function sets the iteration counter of the given node to the given value.voidsetNodeState(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, updateUserAttributeMethods 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, isStructurallyModifiedMethods inherited from interface de.aristaflow.adept2.model.common.i18n.LocalisedString
toLocalisedStringMethods inherited from interface de.aristaflow.adept2.model.common.PluginDataContainer
getPluginData, getPluginDatas, getSupportedPluginsMethods inherited from interface de.aristaflow.adept2.model.common.UserAttributeContainer
getUserAttributes, getUserAttributeValue, removeUserAttributeValue, setUserAttributeValue
-
Field Details
-
serialVersionUID
static final long serialVersionUIDGenerated ID for serialisation.- See Also:
-
-
Method Details
-
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
Sets the state of the node.- Parameters:
nodeID- The ID of the node.state- The new state of the node.- See Also:
-
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:
-