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.String
sourcedescription
The source description.protected java.lang.String
targetdescription
The target description.protected java.lang.String
type
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 Constructor Description MMessagingEdge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect(MActivity source, MActivity target)
Helper method connecting two activities using this edge.java.lang.String
getSourceDescription()
Get the xml source description.java.lang.String
getTargetDescription()
Get the xml target description.java.lang.String
getType()
Get the type.void
setSourceDescription(java.lang.String sourcedescription)
Set the xml source description.void
setTargetDescription(java.lang.String targetdescription)
Set the xml target Description.void
setType(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.
-
-