Package jadex.bpmn.model
Class MDataEdge
A data edge is a data flow edge between activity parameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jadex.common.UnparsedExpression
The parameter mappings.protected String
The source parameter.protected String
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
Helper method connecting two activity parameters using this edge.void
Helper method disconnecting this edge.jadex.common.UnparsedExpression
Get the parametermapping.Get the sourceparam.Get the targetparam.void
setParameterMapping
(jadex.common.UnparsedExpression valmap) Set the parameter mapping.void
setSourceParameter
(String sourceparam) Set the sourceparam.void
setTargetParameter
(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 Details
-
sourceparam
The source parameter. -
targetparam
The target parameter. -
parametermapping
protected jadex.common.UnparsedExpression parametermappingThe parameter mappings.
-
-
Constructor Details
-
MDataEdge
public MDataEdge()
-
-
Method Details
-
connect
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
Get the sourceparam.- Returns:
- The sourceparam.
-
setSourceParameter
Set the sourceparam.- Parameters:
sourceparam
- The sourceparam to set.
-
getTargetParameter
Get the targetparam.- Returns:
- The targetparam.
-
setTargetParameter
Set the targetparam.- Parameters:
targetparam
- The targetparam to set.
-
getParameterMapping
public jadex.common.UnparsedExpression getParameterMapping()Get the parametermapping.- Returns:
- The parametermapping.
-
setParameterMapping
public void setParameterMapping(jadex.common.UnparsedExpression valmap) Set the parameter mapping.
-