Package jadex.bpmn.model
Class MDataEdge
A data edge is a data flow edge between activity parameters.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jadex.common.UnparsedExpressionThe parameter mappings.protected StringThe source parameter.protected StringThe target parameter.Fields inherited from class jadex.bpmn.model.MAssociationTarget
associations, associationsdescriptionFields inherited from class jadex.bpmn.model.MNamedIdElement
description, nameFields inherited from class jadex.bpmn.model.MAnnotationElement
annotationsFields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidHelper method connecting two activity parameters using this edge.voidHelper method disconnecting this edge.jadex.common.UnparsedExpressionGet the parametermapping.Get the sourceparam.Get the targetparam.voidsetParameterMapping(jadex.common.UnparsedExpression valmap) Set the parameter mapping.voidsetSourceParameter(String sourceparam) Set the sourceparam.voidsetTargetParameter(String targetparam) Set the targetparam.Methods inherited from class jadex.bpmn.model.MAssociationTarget
addAssociation, getAssociations, getAssociationsDescription, removeAssociation, setAssociationsDescriptionMethods inherited from class jadex.bpmn.model.MNamedIdElement
getDescription, getName, setDescription, setNameMethods inherited from class jadex.bpmn.model.MAnnotationElement
addAnnotation, getAnnotationsMethods 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.
-