Package jadex.bpmn.model
Class MDataEdge
- java.lang.Object
-
public class MDataEdge extends MEdge
A data edge is a data flow edge between activity parameters.
-
-
Field Summary
Fields Modifier and Type Field Description protected UnparsedExpression
parametermapping
The parameter mappings.protected java.lang.String
sourceparam
The source parameter.protected java.lang.String
targetparam
The target parameter.-
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 MDataEdge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect(MActivity source, java.lang.String sourceparam, MActivity target, java.lang.String targetparam)
Helper method connecting two activity parameters using this edge.void
disconnect()
Helper method disconnecting this edge.UnparsedExpression
getParameterMapping()
Get the parametermapping.java.lang.String
getSourceParameter()
Get the sourceparam.java.lang.String
getTargetParameter()
Get the targetparam.void
setParameterMapping(UnparsedExpression valmap)
Set the parameter mapping.void
setSourceParameter(java.lang.String sourceparam)
Set the sourceparam.void
setTargetParameter(java.lang.String targetparam)
Set the targetparam.-
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
-
-
-
-
Field Detail
-
sourceparam
protected java.lang.String sourceparam
The source parameter.
-
targetparam
protected java.lang.String targetparam
The target parameter.
-
parametermapping
protected UnparsedExpression parametermapping
The parameter mappings.
-
-
Method Detail
-
connect
public void connect(MActivity source, java.lang.String sourceparam, MActivity target, java.lang.String targetparam)
Helper method connecting two activity parameters using this edge. The previous connection is removed.- Parameters:
source
- The new source activity.sourceparam
- The new source activity parameter.target
- The new target activity.targetparam
- The new target activity parameter.
-
disconnect
public void disconnect()
Helper method disconnecting this edge.
-
getSourceParameter
public java.lang.String getSourceParameter()
Get the sourceparam.- Returns:
- The sourceparam.
-
setSourceParameter
public void setSourceParameter(java.lang.String sourceparam)
Set the sourceparam.- Parameters:
sourceparam
- The sourceparam to set.
-
getTargetParameter
public java.lang.String getTargetParameter()
Get the targetparam.- Returns:
- The targetparam.
-
setTargetParameter
public void setTargetParameter(java.lang.String targetparam)
Set the targetparam.- Parameters:
targetparam
- The targetparam to set.
-
getParameterMapping
public UnparsedExpression getParameterMapping()
Get the parametermapping.- Returns:
- The parametermapping.
-
setParameterMapping
public void setParameterMapping(UnparsedExpression valmap)
Set the parameter mapping.
-
-