Interface DeltaLayer

All Superinterfaces:
Serializable
All Known Subinterfaces:
InstanceDeltaLayer, TemplateDeltaLayer

public interface DeltaLayer extends Serializable
A meta interface for the TemplateDeltaLayer and the InstanceDeltaLayer. Both delta layers have the methods of this interface in common, however, they are used for different purposes. Refer to the sub-interfaces for more information.
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      Generated ID for serialisation.
      See Also:
  • Method Details

    • getPredByEdgeType

      int[] getPredByEdgeType(ProcessConstants.DeltaScope scope, int nodeID, ProcessConstants.EdgeType... types)
      Returns a list of node IDs which are predecessors of the node, using edges of the given types. If no edge type is given, any kind of edge is considered. The scope refers to the used edges (e.g. if it is NEW, only predecessors following new edges are considered).
      Parameters:
      scope - Which kind of edges to follow, one of { NEW, DELETED }
      nodeID - The ID of the node.
      types - The edge types to consider.
      Returns:
      An array of node IDs.
    • getSuccByEdgeType

      int[] getSuccByEdgeType(ProcessConstants.DeltaScope scope, int nodeID, ProcessConstants.EdgeType... types)
      Returns a list of node IDs which are successors of the node, using edges of the given types. If no edge type is given, any kind of edge is considered. The scope refers to the used edges (e.g. if it is NEW, only successors following new edges are considered).
      Parameters:
      scope - Which kind of edges to follow, one of { NEW, DELETED }
      nodeID - The ID of the node.
      types - The edge types to consider.
      Returns:
      An array of node IDs.
    • getNodes

      int[] getNodes(ProcessConstants.DeltaScope scope)
      Returns the IDs of nodes of the given scope. E.g. if the scope is set to NEW, the result will contain only node IDs of added nodes.
      Parameters:
      scope - One of { NEW, DELETED, MOVED, CHANGED }
      Returns:
      An array of node IDs.
    • getEdges

      Returns a set of comparable edges (edges with structural information), of the given scope and type(s). E.g. if the scope is NEW, the result will contain only edges which have been added.
      Parameters:
      scope - One of { NEW, DELETED, CHANGED }
      edgeTypes - the type of the edges which should be returned
      Returns:
      A set of comparable edges of the requested scope and type(s).
    • getDataEdges

      Returns a set of comparable data edges (data edges with structural information), of the given scope. E.g. if the scope is NEW, the result will contain only data edges which have been added.
      Parameters:
      scope - One of { NEW, DELETED, CHANGED }
      Returns:
      A set of comparable edges of the requested scope.
    • getDataElements

      int[] getDataElements(ProcessConstants.DeltaScope scope)
      Returns the IDs of the data elements of the requested scope. E.g. if the scope is set to NEW, the result will only contain data elements which have been added.
      Parameters:
      scope - One of { NEW, DELETED, CHANGED }
      Returns:
      The IDs of the data elements of the requested scope.
    • getChangedNodeProperties

      ProcessConstants.NodeProperty[] getChangedNodeProperties(int nodeID)
      Returns the properties of a given node, which have been changed.
      Parameters:
      nodeID - The ID of the node.
      Returns:
      An array of properties, which have been changed.
    • getChangedEdgeProperties

      ProcessConstants.EdgeProperty[] getChangedEdgeProperties(int sourceNodeID, int destinationNodeID, ProcessConstants.EdgeType edgeType)
      Returns the properties of a given edge, which have been changed.
      Parameters:
      sourceNodeID - The source node ID of the edge.
      destinationNodeID - The destination node ID of the edge.
      edgeType - The type of the edge.
      Returns:
      An array of properties, which have been changed.
    • getChangedEdgeProperties

      ProcessConstants.DataEdgeProperty[] getChangedEdgeProperties(int nodeID, int dataElementID, ActivityConstants.AccessType dataEdgeType)
      Returns the properties of a given data edge, which have been changed.
      Parameters:
      nodeID - The ID of the node.
      dataElementID - The ID of the data element.
      dataEdgeType - The type of the data edge.
      Returns:
      An array of properties, which have been changed.
    • getChangedDataElementProperties

      ProcessConstants.DataElementProperty[] getChangedDataElementProperties(int dataElementID)
      Returns the properties of a given data element, which have been changed.
      Parameters:
      dataElementID - The ID of the data element.
      Returns:
      An array of properties, which have been changed.
    • getChangedEBPProperties

      ProcessConstants.ExecutableBusinessProcessProperty[] getChangedEBPProperties(int nodeID)
      Returns the properties of a given executable business process, which have been changed.
      Parameters:
      nodeID - The ID of the node, where the EBP is attached.
      Returns:
      An array of properties, which have been changed.