Class MDataEdge


public class MDataEdge extends MEdge
A data edge is a data flow edge between activity parameters.
  • Field Details

    • sourceparam

      protected String sourceparam
      The source parameter.
    • targetparam

      protected String targetparam
      The target parameter.
    • parametermapping

      protected jadex.common.UnparsedExpression parametermapping
      The parameter mappings.
  • Constructor Details

    • MDataEdge

      public MDataEdge()
  • Method Details

    • connect

      public void connect(MActivity source, String sourceparam, MActivity target, 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 String getSourceParameter()
      Get the sourceparam.
      Returns:
      The sourceparam.
    • setSourceParameter

      public void setSourceParameter(String sourceparam)
      Set the sourceparam.
      Parameters:
      sourceparam - The sourceparam to set.
    • getTargetParameter

      public String getTargetParameter()
      Get the targetparam.
      Returns:
      The targetparam.
    • setTargetParameter

      public void setTargetParameter(String targetparam)
      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.