Class MSubProcess


  • public class MSubProcess
    extends MActivity
    A sub process represents an activity with and a sub activity flow.
    • Field Detail

      • SUBPROCESSTYPE_NONE

        public static final java.lang.String SUBPROCESSTYPE_NONE
        The default subprocess type.
        See Also:
        Constant Field Values
      • SUBPROCESSTYPE_PARALLEL

        public static final java.lang.String SUBPROCESSTYPE_PARALLEL
        The parallel subprocess type.
        See Also:
        Constant Field Values
      • SUBPROCESSTYPE_SEQUENTIAL

        public static final java.lang.String SUBPROCESSTYPE_SEQUENTIAL
        The looping subprocess type.
        See Also:
        Constant Field Values
      • SUBPROCESSTYPE_EVENT

        public static final java.lang.String SUBPROCESSTYPE_EVENT
        The event subprocess type.
        See Also:
        Constant Field Values
      • MULTIINSTANCE_ITERATOR

        public static final java.lang.String MULTIINSTANCE_ITERATOR
        The name of the parameter identifying the multi instance iterator.
        See Also:
        Constant Field Values
      • activities

        protected java.util.List<MActivity> activities
        The vertices.
      • artifacts

        protected java.util.List<MArtifact> artifacts
        The artifacts.
      • subprocesstype

        protected java.lang.String subprocesstype
        The subprocess type (e.g. looping).
    • Constructor Detail

      • MSubProcess

        public MSubProcess()
    • Method Detail

      • getActivities

        public java.util.List<MActivity> getActivities()
        Get the activities.
        Returns:
        The activities.
      • setActivities

        public void setActivities​(java.util.List<MActivity> activities)
        Set the activities.
        Parameters:
        activities - The activities.
      • getEdges

        public java.util.List<MEdge> getEdges()
        Get the edges.
        Returns:
        The edges.
      • addActivity

        public void addActivity​(MActivity activity)
        Add an activity.
        Parameters:
        activity - The activity.
      • removeActivity

        public void removeActivity​(MActivity vertex)
        Remove an activity.
        Parameters:
        activity - The activity.
      • getActivity

        public MActivity getActivity​(java.lang.String id)
        Get an activity per id.
      • getStartActivities

        public java.util.List<MActivity> getStartActivities()
        Get all start activities of the pool.
        Returns:
        A non-empty List of start activities or null, if none.
      • getArtifacts

        public java.util.List<MArtifact> getArtifacts()
        Get the artifacts.
        Returns:
        The artifacts.
      • addArtifact

        public void addArtifact​(MArtifact artifact)
        Add an artifact.
        Parameters:
        artifact - The artifact.
      • removeArtifact

        public void removeArtifact​(MArtifact artifact)
        Remove an artifact.
        Parameters:
        artifact - The artifact.
      • getSubprocessType

        public java.lang.String getSubprocessType()
        Get the subprocess type.
      • setSubprocessType

        public void setSubprocessType​(java.lang.String subprocesstype)
        Set the subprocess type.