Package jadex.bpmn.model
Class MLane
A lane is a subpart of a pool representing e.g. a role or some
resposibility sphere.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe activities.protected StringThe activities description.protected MLaneThe parent lane (if any).protected StringThe type.Fields inherited from class jadex.bpmn.model.MAssociationTarget
associations, associationsdescriptionFields inherited from class jadex.bpmn.model.MNamedIdElement
description, nameFields inherited from class jadex.bpmn.model.MAnnotationElement
annotationsFields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddActivity(MActivity activity) Add an activity.Get the activities.Get the activities description.getActivity(String id) Get an activity per id.Get the associations.getLane()Get the parent lane of the lane (if any).Get all start activities of the pool.getType()Get the type.voidremoveActivity(MActivity activity) Remove an activity.voidsetActivitiesDescription(String activitiesdescription) Set the activities description.voidSet the parent lane of the lane.voidSet the type.Methods inherited from class jadex.bpmn.model.MAssociationTarget
addAssociation, getAssociationsDescription, removeAssociation, setAssociationsDescriptionMethods inherited from class jadex.bpmn.model.MNamedIdElement
getDescription, getName, setDescription, setNameMethods inherited from class jadex.bpmn.model.MAnnotationElement
addAnnotation, getAnnotationsMethods inherited from class jadex.bpmn.model.MIdElement
equals, getId, hashCode, setId
-
Field Details
-
activitiesdescription
The activities description. -
activities
The activities. -
type
The type. -
lane
The parent lane (if any).
-
-
Constructor Details
-
MLane
public MLane()
-
-
Method Details
-
getActivitiesDescription
Get the activities description.- Returns:
- The activities description.
-
setActivitiesDescription
Set the activities description.- Parameters:
activitiesdescription- The activities description to set.
-
getActivities
Get the activities.- Returns:
- The activities.
-
addActivity
Add an activity.- Parameters:
activity- The activity.
-
removeActivity
Remove an activity.- Parameters:
activity- The activity.
-
getActivity
Get an activity per id. -
getType
Get the type.- Returns:
- The type.
-
setType
Set the type.- Parameters:
type- The type to set.
-
getAssociations
Get the associations. return The associations.- Overrides:
getAssociationsin classMAssociationTarget
-
getLane
Get the parent lane of the lane (if any).- Returns:
- The parent lane of the lane.
-
setLane
Set the parent lane of the lane.- Parameters:
lane- The parent lane of the lane.
-
getStartActivities
Get all start activities of the pool.- Returns:
- A non-empty List of start activities or null, if none.
-