
Metamodel user guide
BehaviorParameter is a Parameter extended to add support for streaming, exceptions and parameter sets.
A BehaviorParameter is owned only by a Behavior : Activities, Interactions, State machines or OpaqueBehaviors.
Behaviors that are owned by Operations have their BehaviorParameter linked to the corresponding operation Parameter.
isException applies to output parameters. An output posted to an exception excludes outputs from being posted to other data and control outputs of the behavior. A token arriving at an exception output parameter of an activity aborts all flows in the activity. Any objects previously posted to non-stream outputs never leave the activity. Streaming outputs posted before any exception are not affected. Use exception parameters on activities only if it is desired to abort all flows in the activity.
Streaming parameters give action access to tokens passed from its invoker while the action is executing. Values for streaming parameters may arrive anytime during the execution of the action, not just at the beginning.
The effect of a parameter is a declaration of the modelerĂ¢??s intent, and does not have execution semantics. The modeler must ensure that the owner of the parameter has the stated effect.


Attribute | Description |
---|---|
ParameterEffectKind Effect [1..1] | Specifies the effect that the owner of the parameter has on values passed in or out of the parameter. |
boolean IsException [1..1] | Indicates whether an output parameter may emit a value to the exclusion of the other outputs. |
boolean IsStream [1..1] | Indicates whether an input parameter may accept values while its behavior is executing, or whether an output parameter post values while the behavior is executing. |
Association | Description |
---|---|
Mapped : Parameter [0..1] | |
Owner : Behavior [0..1] | References a list of parameters to the behavior that describes the order and type of arguments that can be given when the behavior is invoked and of the values that will be returned when the behavior completes its execution. |
RepresentingObjectNode : ObjectNode [0..*] | The represented parameter. For a Pin on a CallOperationAction or a CallBehaviorAction, links to the matched parameter of the called operation or behavior. |