Package jadex.bpmn.model
Class MPool
- java.lang.Object
- 
 public class MPool extends MAssociationTarget A pool represents some kind of unit inside a bpmn model.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<MActivity>activitiesThe vertices.protected java.util.List<MArtifact>artifactsThe artifacs.protected java.util.List<MLane>lanesThe lanes.protected java.lang.StringtypeThe type.- 
Fields inherited from class jadex.bpmn.model.MAssociationTargetassociations, associationsdescription
 - 
Fields inherited from class jadex.bpmn.model.MNamedIdElementdescription, name
 - 
Fields inherited from class jadex.bpmn.model.MAnnotationElementannotations
 - 
Fields inherited from class jadex.bpmn.model.MIdElementid, ID_GENERATOR
 
- 
 - 
Constructor SummaryConstructors Constructor Description MPool()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddActivity(MActivity activity)Add an activity.voidaddArtifact(MArtifact artifact)Add an artifact.voidaddLane(MLane lane)Add a lane.java.util.List<MActivity>getActivities()Get the activities.MActivitygetActivity(java.lang.String id)Get an activity per id.java.util.List<MArtifact>getArtifacts()Get the artifacts.java.util.List<MLane>getLanes()Get the lanes.java.util.List<MActivity>getStartActivities()Get all start activities of the pool.java.lang.StringgetType()Get the type.voidremoveActivity(MActivity activity)Remove an activity.voidremoveArtifact(MArtifact artifact)Remove an artifact.voidremoveLane(MLane lane)Remove a lane.voidsetType(java.lang.String type)Set the type.- 
Methods inherited from class jadex.bpmn.model.MAssociationTargetaddAssociation, getAssociations, getAssociationsDescription, removeAssociation, setAssociationsDescription
 - 
Methods inherited from class jadex.bpmn.model.MNamedIdElementgetDescription, getName, setDescription, setName
 - 
Methods inherited from class jadex.bpmn.model.MAnnotationElementaddAnnotation, getAnnotations
 - 
Methods inherited from class jadex.bpmn.model.MIdElementequals, getId, hashCode, setId
 
- 
 
- 
- 
- 
Method Detail- 
getActivitiespublic java.util.List<MActivity> getActivities() Get the activities.- Returns:
- The activities.
 
 - 
getActivitypublic MActivity getActivity(java.lang.String id) Get an activity per id.
 - 
addActivitypublic void addActivity(MActivity activity) Add an activity.- Parameters:
- activity- The activity.
 
 - 
removeActivitypublic void removeActivity(MActivity activity) Remove an activity.- Parameters:
- activity- The activity.
 
 - 
getLanespublic java.util.List<MLane> getLanes() Get the lanes.- Returns:
- The lanes.
 
 - 
addLanepublic void addLane(MLane lane) Add a lane.- Parameters:
- lane- The lane.
 
 - 
removeLanepublic void removeLane(MLane lane) Remove a lane.- Parameters:
- lane- The lane.
 
 - 
getArtifactspublic java.util.List<MArtifact> getArtifacts() Get the artifacts.- Returns:
- The artifacts.
 
 - 
addArtifactpublic void addArtifact(MArtifact artifact) Add an artifact.- Parameters:
- artifact- The artifact.
 
 - 
removeArtifactpublic void removeArtifact(MArtifact artifact) Remove an artifact.- Parameters:
- artifact- The artifact.
 
 - 
getTypepublic java.lang.String getType() Get the type.- Returns:
- The type.
 
 - 
setTypepublic void setType(java.lang.String type) Set the type.- Parameters:
- type- The type to set.
 
 - 
getStartActivitiespublic java.util.List<MActivity> getStartActivities() Get all start activities of the pool.- Returns:
- A non-empty List of start activities or null, if none.
 
 
- 
 
-