public class MLane extends MAssociationTarget
Modifier and Type | Field and Description |
---|---|
protected java.util.List<MActivity> |
activities
The activities.
|
protected java.lang.String |
activitiesdescription
The activities description.
|
protected MLane |
lane
The parent lane (if any).
|
protected java.lang.String |
type
The type.
|
associations, associationsdescription
description, name
annotations
id, ID_GENERATOR
Constructor and Description |
---|
MLane() |
Modifier and Type | Method and Description |
---|---|
void |
addActivity(MActivity activity)
Add an activity.
|
java.util.List<MActivity> |
getActivities()
Get the activities.
|
java.lang.String |
getActivitiesDescription()
Get the activities description.
|
MActivity |
getActivity(java.lang.String id)
Get an activity per id.
|
java.util.List |
getAssociations()
Get the associations.
|
MLane |
getLane()
Get the parent lane of the lane (if any).
|
java.util.List<MActivity> |
getStartActivities()
Get all start activities of the pool.
|
java.lang.String |
getType()
Get the type.
|
void |
removeActivity(MActivity activity)
Remove an activity.
|
void |
setActivitiesDescription(java.lang.String activitiesdescription)
Set the activities description.
|
void |
setLane(MLane lane)
Set the parent lane of the lane.
|
void |
setType(java.lang.String type)
Set the type.
|
addAssociation, getAssociationsDescription, removeAssociation, setAssociationsDescription
getDescription, getName, setDescription, setName
addAnnotation, getAnnotations
equals, getId, hashCode, setId
protected java.lang.String activitiesdescription
protected java.util.List<MActivity> activities
protected java.lang.String type
protected MLane lane
public java.lang.String getActivitiesDescription()
public void setActivitiesDescription(java.lang.String activitiesdescription)
activitiesdescription
- The activities description to set.public java.util.List<MActivity> getActivities()
public void addActivity(MActivity activity)
activity
- The activity.public void removeActivity(MActivity activity)
activity
- The activity.public MActivity getActivity(java.lang.String id)
public java.lang.String getType()
public void setType(java.lang.String type)
type
- The type to set.public java.util.List getAssociations()
getAssociations
in class MAssociationTarget
public MLane getLane()
public void setLane(MLane lane)
lane
- The parent lane of the lane.public java.util.List<MActivity> getStartActivities()