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 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.void
addArtifact
(MArtifact artifact) Add an artifact.void
Add 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.void
removeActivity
(MActivity activity) Remove an activity.void
removeArtifact
(MArtifact artifact) Remove an artifact.void
removeLane
(MLane lane) Remove a lane.void
Set the type.Methods inherited from class jadex.bpmn.model.MAssociationTarget
addAssociation, getAssociations, 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
-
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.
-