public class MActivity extends MAssociationTarget
Constructor and Description |
---|
MActivity() |
Modifier and Type | Method and Description |
---|---|
void |
addEventHandler(MActivity eventhandler)
Add an event handler.
|
void |
addIncomingMessageDescription(Object desc)
Add an incoming message description.
|
void |
addIncomingMessagingEdge(MMessagingEdge edge)
Add an incoming message edge.
|
void |
addIncomingSequenceEdge(MSequenceEdge edge)
Add an incoming edge.
|
void |
addOutgoingMessageDescription(Object desc)
Add an outgoing message description.
|
void |
addOutgoingMessagingEdge(MMessagingEdge edge)
Add an outgoing message edge.
|
void |
addOutgoingSequenceEdge(MSequenceEdge edge)
Add an outgoing edge.
|
void |
addParameter(MParameter param)
Add a parameter.
|
String |
getActivityType()
Get the activity type.
|
String |
getBreakpointId()
Get a string to identify this activity in a tool such as the debugger.
|
Class |
getClazz()
Get the class.
|
List<MActivity> |
getEventHandlers()
Get the event handlers.
|
List |
getIncomingMessagesDescriptions()
Get the incoming messages description.
|
List |
getIncomingMessagingEdges()
Get the inconimg message edges.
|
List<MSequenceEdge> |
getIncomingSequenceEdges()
Get the incoming edges.
|
String |
getIncomingSequenceEdgesDescription()
Get the xml incoming edges description.
|
MLane |
getLane()
Get the lane of the activity.
|
String |
getLaneDescription()
Get the xml lane description.
|
List |
getOutgoingMessagesDescriptions()
Get the xml outgoing messages descriptions.
|
List |
getOutgoingMessagingEdges()
Get the outgoing message edges.
|
List<MSequenceEdge> |
getOutgoingSequenceEdges()
Get the outgoing sequence edges.
|
String |
getOutgoingSequenceEdgesDescription()
Get the xml outgoing sequence edges desription.
|
Map |
getParameters()
Get the parameters.
|
List<MParameter> |
getParameters(String[] dirs)
Get parameters of specific direction(s).
|
MPool |
getPool()
Get the pool of the activity.
|
String |
getType()
Get the type.
|
boolean |
hasParameter(String name)
Test if a parameter exists.
|
boolean |
isEventHandler()
Get the eventhandler.
|
boolean |
isLooping()
Test if the activity is looping.
|
void |
removeEventHandler(MActivity eventhandler)
Remove an event handler.
|
void |
removeIncomingMessageDescription(Object desc)
Remove an incoming message description.
|
void |
removeIncomingMessagingEdge(MMessagingEdge edge)
Remove an incoming message edge.
|
void |
removeIncomingSequenceEdge(MSequenceEdge edge)
Remove an incoming edge.
|
void |
removeOutgoingMessageDescription(Object desc)
Remove an outgoing message description.
|
void |
removeOutgoingMessagingEdge(MMessagingEdge edge)
Remove an outgoing message edge.
|
void |
removeOutgoingSequenceEdge(MSequenceEdge edge)
Remove an outgoing edge.
|
void |
removeParameter(MParameter param)
Remove a parameter.
|
void |
setActivityType(String activitytype)
Set the activity type.
|
void |
setClazz(Class clazz)
Set the class.
|
void |
setEventHandler(boolean eventhandler)
Set the eventhandler.
|
void |
setIncomingSequenceEdgesDescription(String incomingedges)
Set the xml incoming edges description.
|
void |
setLane(MLane lane)
Set the lane of the activity.
|
void |
setLaneDescription(String lanedescription)
Set the xml lane description.
|
void |
setLooping(boolean looping)
Set the looping state.
|
void |
setOutgoingSequenceEdgesDescription(String outgoingedges)
Set the xml outgoing edges desription.
|
void |
setPool(MPool pool)
Set the pool of the activity.
|
void |
setType(String type)
Set the type.
|
String |
toString()
Create a string representation of this activity.
|
addAssociation, getAssociations, getAssociationsDescription, removeAssociation, setAssociationsDescription
getDescription, getName, getPropertyNames, getPropertyValue, hasPropertyValue, setDescription, setName, setPropertyValue
addAnnotation, getAnnotations
getId, setId
public String getLaneDescription()
public void setLaneDescription(String lanedescription)
lanedescription
- The lane description to set.public String getOutgoingSequenceEdgesDescription()
public void setOutgoingSequenceEdgesDescription(String outgoingedges)
outgoingedges
- The outgoing edges to set.public String getIncomingSequenceEdgesDescription()
public void setIncomingSequenceEdgesDescription(String incomingedges)
incomingedges
- The incoming edges to set.public List getOutgoingMessagesDescriptions()
public void addOutgoingMessageDescription(Object desc)
desc
- The description.public void removeOutgoingMessageDescription(Object desc)
desc
- The description.public List getIncomingMessagesDescriptions()
public void addIncomingMessageDescription(Object desc)
desc
- The description.public void removeIncomingMessageDescription(Object desc)
desc
- The description.public List<MSequenceEdge> getOutgoingSequenceEdges()
public void addOutgoingSequenceEdge(MSequenceEdge edge)
edge
- The edge.public void removeOutgoingSequenceEdge(MSequenceEdge edge)
edge
- The edge.public List<MSequenceEdge> getIncomingSequenceEdges()
public void addIncomingSequenceEdge(MSequenceEdge edge)
edge
- The edge.public void removeIncomingSequenceEdge(MSequenceEdge edge)
edge
- The edge.public List getOutgoingMessagingEdges()
public void addOutgoingMessagingEdge(MMessagingEdge edge)
edge
- The edge.public void removeOutgoingMessagingEdge(MMessagingEdge edge)
edge
- The edge.public List getIncomingMessagingEdges()
public void addIncomingMessagingEdge(MMessagingEdge edge)
edge
- The edge.public void removeIncomingMessagingEdge(MMessagingEdge edge)
edge
- The edge.public String getType()
public void setType(String type)
type
- The type to set.public String getActivityType()
public void setActivityType(String activitytype)
activitytype
- The activity type to set.public boolean isLooping()
public void setLooping(boolean looping)
looping
- The looping state to set.public List<MActivity> getEventHandlers()
public void addEventHandler(MActivity eventhandler)
eventhandler
- The event handler.public void removeEventHandler(MActivity eventhandler)
eventhandler
- The event handler.public Map getParameters()
public List<MParameter> getParameters(String[] dirs)
public boolean hasParameter(String name)
public void addParameter(MParameter param)
param
- The parameter.public void removeParameter(MParameter param)
param
- The parameter.public String toString()
public MPool getPool()
public void setPool(MPool pool)
pool
- The pool of the activity.public MLane getLane()
public void setLane(MLane lane)
lane
- The lane of the activity.public String getBreakpointId()
public boolean isEventHandler()
public void setEventHandler(boolean eventhandler)
eventhandler
- The eventhandler to set.public Class getClazz()
public void setClazz(Class clazz)
clazz
- The class to set.Copyright © 2012. All Rights Reserved.