Package jadex.bpmn.model
Class MLane
- java.lang.Object
-
public class MLane extends MAssociationTarget
A lane is a subpart of a pool representing e.g. a role or some resposibility sphere.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<MActivity>
activities
The activities.protected java.lang.String
activitiesdescription
The activities description.protected MLane
lane
The parent lane (if any).protected java.lang.String
type
The type.-
Fields inherited from class jadex.bpmn.model.MAssociationTarget
associations, associationsdescription
-
Fields inherited from class jadex.bpmn.model.MNamedIdElement
description, name
-
Fields inherited from class jadex.bpmn.model.MAnnotationElement
annotations
-
Fields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR
-
-
Constructor Summary
Constructors Constructor Description MLane()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addActivity(MActivity activity)
Add an activity.java.util.List<MActivity>
getActivities()
Get the activities.java.lang.String
getActivitiesDescription()
Get the activities description.MActivity
getActivity(java.lang.String id)
Get an activity per id.java.util.List
getAssociations()
Get the associations.MLane
getLane()
Get the parent lane of the lane (if any).java.util.List<MActivity>
getStartActivities()
Get all start activities of the pool.java.lang.String
getType()
Get the type.void
removeActivity(MActivity activity)
Remove an activity.void
setActivitiesDescription(java.lang.String activitiesdescription)
Set the activities description.void
setLane(MLane lane)
Set the parent lane of the lane.void
setType(java.lang.String type)
Set the type.-
Methods inherited from class jadex.bpmn.model.MAssociationTarget
addAssociation, getAssociationsDescription, removeAssociation, setAssociationsDescription
-
Methods inherited from class jadex.bpmn.model.MNamedIdElement
getDescription, getName, setDescription, setName
-
Methods inherited from class jadex.bpmn.model.MAnnotationElement
addAnnotation, getAnnotations
-
Methods inherited from class jadex.bpmn.model.MIdElement
equals, getId, hashCode, setId
-
-
-
-
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.
-
getAssociations
public java.util.List getAssociations()
Get the associations. return The associations.- Overrides:
getAssociations
in classMAssociationTarget
-
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.
-
-