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 Details

    • serialVersionUID

      static final long serialVersionUID
      Generated 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

      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:
    • 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: