Interface ExecutableInstancePropertyTracker


public interface ExecutableInstancePropertyTracker
Interface for tracking property changes on ExecutableInstance objects.

Note: this is for internal use only!

After creation of an ExecutableInstance, there are no properties marked as changed. Any changes after the creation will be tracked and can be accessed using getChangedProperties(), getChangedNodes() and getChangedNodeProperties(int).

After storing the the ExecutableInstance, the changed properties need to be cleared by calling clearChangedProperties()

Author:
KevinGoeser
  • Method Details

    • getChangedProperties

      Returns the properties of the ExecutableInstance which have been changed.
      Returns:
      The properties which have been changed.
    • getChangedNodeProperties

      Returns the node properties in the ExecutableInstance of the given node which have been changed.
      Parameters:
      nodeID - The ID of the node.
      Returns:
      The node properties which have been changed, or null if unchanged.
    • clearChangedProperties

      void clearChangedProperties()
      Clears (resets) all properties to be unchanged.
    • getChangedNodes

      Set<Integer> getChangedNodes()
      Returns the set of nodes which have changed properties. The set is empty in case no property has been changed.
      Returns:
      The set of nodes which have changed properties.