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>activitiesThe activities.protected java.lang.StringactivitiesdescriptionThe activities description.protected MLanelaneThe parent lane (if any).protected java.lang.StringtypeThe 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 voidaddActivity(MActivity activity)Add an activity.java.util.List<MActivity>getActivities()Get the activities.java.lang.StringgetActivitiesDescription()Get the activities description.MActivitygetActivity(java.lang.String id)Get an activity per id.java.util.ListgetAssociations()Get the associations.MLanegetLane()Get the parent lane of the lane (if any).java.util.List<MActivity>getStartActivities()Get all start activities of the pool.java.lang.StringgetType()Get the type.voidremoveActivity(MActivity activity)Remove an activity.voidsetActivitiesDescription(java.lang.String activitiesdescription)Set the activities description.voidsetLane(MLane lane)Set the parent lane of the lane.voidsetType(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:
getAssociationsin 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.
-
-