Software Disclaimer

Class UML 2.5::StartObjectBehaviorAction

Description:

A StartObjectBehaviorAction is an InvocationAction that starts the execution either of a directly instantiated Behavior or of the classifierBehavior of an object. Argument values may be supplied for the input Parameters of the Behavior. If the Behavior is invoked synchronously, then output values may be obtained for output Parameters.

Direct Superclasses: CallAction

Direct Subclasses:

Class Precedence List: StartObjectBehaviorAction, CallAction, InvocationAction, Action, ExecutableNode, ActivityNode, RedefinableElement, NamedElement, Element

Properties:

object : InputPin (1 1); -- source StartObjectBehaviorAction
isSynchronous : Boolean (1 1); -- source CallAction
result : OutputPin (0 *); -- source CallAction
argument : InputPin (0 *); -- source InvocationAction
onPort : Port (0 1); -- source InvocationAction
context : Classifier (0 1); -- source Action
input : InputPin (0 *); -- source Action
isLocallyReentrant : Boolean (1 1); -- source Action
localPostcondition : Constraint (0 *); -- source Action
localPrecondition : Constraint (0 *); -- source Action
output : OutputPin (0 *); -- source Action
handler : ExceptionHandler (0 *); -- source ExecutableNode
activity : Activity (0 1); -- source ActivityNode
inGroup : ActivityGroup (0 *); -- source ActivityNode
inInterruptibleRegion : InterruptibleActivityRegion (0 *); -- source ActivityNode
inPartition : ActivityPartition (0 *); -- source ActivityNode
inStructuredNode : StructuredActivityNode (0 1); -- source ActivityNode
incoming : ActivityEdge (0 *); -- source ActivityNode
outgoing : ActivityEdge (0 *); -- source ActivityNode
redefinedNode : ActivityNode (0 *); -- source ActivityNode
isLeaf : Boolean (1 1); -- source RedefinableElement
redefinedElement : RedefinableElement (0 *); -- source RedefinableElement
redefinitionContext : Classifier (0 *); -- source RedefinableElement
clientDependency : Dependency (0 *); -- source NamedElement
name : String (0 1); -- source NamedElement
nameExpression : StringExpression (0 1); -- source NamedElement

The StringExpression used to define the name of this NamedElement.
{composite}
Subsets: Element.ownedElement

namespace : Namespace (0 1); -- source NamedElement
qualifiedName : String (0 1); -- source NamedElement
visibility : VisibilityKind (0 1); -- source NamedElement
ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element

Constraints:

No additional constraints.

Operations:

Signature: outputParameters() : Parameter;
Description: Return the inout, out and return ownedParameters of the Behavior being called.
Expression: result = (self.behavior().outputParameters())

Signature: inputParameters() : Parameter;
Description: Return the in and inout ownedParameters of the Behavior being called.
Expression: result = (self.behavior().inputParameters())

Signature: behavior() : Behavior;
Description: If the type of the object InputPin is a Behavior, then that Behavior. Otherwise, if the type of the object InputPin is a BehavioredClassifier, then the classifierBehavior of that BehavioredClassifier.
Expression: result = (if object.type.oclIsKindOf(Behavior) then object.type.oclAsType(Behavior) else if object.type.oclIsKindOf(BehavioredClassifier) then object.type.oclAsType(BehavioredClassifier).classifierBehavior else null endif endif)



Send questions or comments to [email protected].