Class MLane


  • public class MLane
    extends MAssociationTarget
    A lane is a subpart of a pool representing e.g. a role or some resposibility sphere.
    • Field Detail

      • activitiesdescription

        protected java.lang.String activitiesdescription
        The activities description.
      • activities

        protected java.util.List<MActivity> activities
        The activities.
      • type

        protected java.lang.String type
        The type.
      • lane

        protected MLane lane
        The parent lane (if any).
    • Constructor Detail

      • MLane

        public MLane()
    • Method Detail

      • getActivitiesDescription

        public java.lang.String getActivitiesDescription()
        Get the activities description.
        Returns:
        The activities description.
      • setActivitiesDescription

        public void setActivitiesDescription​(java.lang.String activitiesdescription)
        Set the activities description.
        Parameters:
        activitiesdescription - The activities description to set.
      • getActivities

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

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

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

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

        public java.lang.String getType()
        Get the type.
        Returns:
        The type.
      • setType

        public void setType​(java.lang.String type)
        Set the type.
        Parameters:
        type - The type to set.
      • getLane

        public MLane getLane()
        Get the parent lane of the lane (if any).
        Returns:
        The parent lane of the lane.
      • setLane

        public void setLane​(MLane lane)
        Set the parent lane of the lane.
        Parameters:
        lane - The parent lane of the lane.
      • 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.