Package jadex.bpmn.model
Class MMessagingEdge
- java.lang.Object
-
public class MMessagingEdge extends MEdge
A messaging edge is an edge describing a message flow between some sender and receiver. Used only for communication across pools.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringsourcedescriptionThe source description.protected java.lang.StringtargetdescriptionThe target description.protected java.lang.StringtypeThe 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 Constructor Description MMessagingEdge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect(MActivity source, MActivity target)Helper method connecting two activities using this edge.java.lang.StringgetSourceDescription()Get the xml source description.java.lang.StringgetTargetDescription()Get the xml target description.java.lang.StringgetType()Get the type.voidsetSourceDescription(java.lang.String sourcedescription)Set the xml source description.voidsetTargetDescription(java.lang.String targetdescription)Set the xml target Description.voidsetType(java.lang.String type)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
-
-
-
-
Method Detail
-
connect
public void connect(MActivity source, MActivity target)
Helper method connecting two activities using this edge. The previous connection is removed.- Parameters:
source- New source of the edge.target- New target of the edge.
-
getSourceDescription
public java.lang.String getSourceDescription()
Get the xml source description.- Returns:
- The source description.
-
setSourceDescription
public void setSourceDescription(java.lang.String sourcedescription)
Set the xml source description.- Parameters:
sourcedescription- The xml source description to set.
-
getTargetDescription
public java.lang.String getTargetDescription()
Get the xml target description.- Returns:
- The target description.
-
setTargetDescription
public void setTargetDescription(java.lang.String targetdescription)
Set the xml target Description.- Parameters:
targetdescription- The target description to set.
-
getType
public java.lang.String getType()
Get the type.- Returns:
- The type.
-
setType
public void setType(java.lang.String type)
Set the type.- Parameters:
type- The type to set.
-
-