Package jadex.bpmn.model
Class MPool
A pool represents some kind of unit inside a bpmn model.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe vertices.The artifacs.The lanes.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.voidaddArtifact(MArtifact artifact) Add an artifact.voidAdd a lane.Get the activities.getActivity(String id) Get an activity per id.Get the artifacts.getLanes()Get the lanes.Get all start activities of the pool.getType()Get the type.voidremoveActivity(MActivity activity) Remove an activity.voidremoveArtifact(MArtifact artifact) Remove an artifact.voidremoveLane(MLane lane) Remove a lane.voidSet the type.Methods inherited from class jadex.bpmn.model.MAssociationTarget
addAssociation, getAssociations, 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
-
activities
The vertices. -
lanes
The lanes. -
artifacts
The artifacs. -
type
The type.
-
-
Constructor Details
-
MPool
public MPool()
-
-
Method Details
-
getActivities
Get the activities.- Returns:
- The activities.
-
getActivity
Get an activity per id. -
addActivity
Add an activity.- Parameters:
activity- The activity.
-
removeActivity
Remove an activity.- Parameters:
activity- The activity.
-
getLanes
Get the lanes.- Returns:
- The lanes.
-
addLane
Add a lane.- Parameters:
lane- The lane.
-
removeLane
Remove a lane.- Parameters:
lane- The lane.
-
getArtifacts
Get the artifacts.- Returns:
- The artifacts.
-
addArtifact
Add an artifact.- Parameters:
artifact- The artifact.
-
removeArtifact
Remove an artifact.- Parameters:
artifact- The artifact.
-
getType
Get the type.- Returns:
- The type.
-
setType
Set the type.- Parameters:
type- The type to set.
-
getStartActivities
Get all start activities of the pool.- Returns:
- A non-empty List of start activities or null, if none.
-