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 String
The activities description.protected MLane
The parent lane (if any).protected String
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
addActivity
(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.void
removeActivity
(MActivity activity) Remove an activity.void
setActivitiesDescription
(String activitiesdescription) Set the activities description.void
Set the parent lane of the lane.void
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
-
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:
getAssociations
in 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.
-