Interface SendActionUsage

All Superinterfaces:
ActionUsage, BaseElement, Cloneable, Comparable, Element, org.eclipse.emf.ecore.EObject, Feature, ModelElement, com.dassault_systemes.modeler.modelextension.model.modelextension.ModelExtensionObject, Namespace, org.eclipse.emf.common.notify.Notifier, OccurrenceUsage, Step, Type, Usage

@OpenApiAll public interface SendActionUsage extends ActionUsage

A SendActionUsage is an ActionUsage that specifies the sending of a payload given by the result of its payloadArgument Expression via a MessageTransfer whose source is given by the result of the senderArgument Expression and whose target is given by the result of the receiverArgument Expression. If no senderArgument is provided, the default is the this context for the action. If no receiverArgument is given, then the receiver is to be determined by, e.g., outgoing Connections from the sender.

senderArgument = argument(2) payloadArgument = argument(1) inputParameters()->size() >= 3 receiverArgument = argument(3) isSubactionUsage() implies specializesFromLibrary('Actions::Action::acceptSubactions') specializesFromLibrary('Actions::sendActions')
  • Method Details

    • getReceiverArgument

      @CheckForNull Expression getReceiverArgument()

      An Expression whose result is bound to the receiver input parameter of this SendActionUsage.

      Returns:
      the receiverArgument value
      Model:
      derived="true" transient="true" oppositeRoleName="sendActionUsage"
    • getPayloadArgument

      @CheckForNull Expression getPayloadArgument()

      An Expression whose result is bound to the payload input parameter of this SendActionUsage.

      Returns:
      the payloadArgument value
      Model:
      derived="true" transient="true" oppositeRoleName="sendingActionUsage"
    • getSenderArgument

      @CheckForNull Expression getSenderArgument()

      An Expression whose result is bound to the sender input parameter of this SendActionUsage.

      Returns:
      the senderArgument value
      Model:
      derived="true" transient="true" oppositeRoleName="senderActionUsage"