Software Disclaimer

Class UML 2.3::ReadSelfAction

Description:

A read self action is an action that retrieves the host object of an action.

Direct Superclasses: Action

Direct Subclasses:

Class Precedence List: ReadSelfAction, Action, ExecutableNode, ActivityNode, RedefinableElement, NamedElement, Element

Properties:

result : OutputPin (1 1); -- source ReadSelfAction
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

Interruptible regions containing the node.
Subsets: ActivityNode.inGroup
Opposite: InterruptibleActivityRegion.node

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
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:

Signature: type() : Boolean;
Description: The type of the result output pin is the host classifier.
Expression: self.result.type = self.context

Signature: not_static() : Boolean;
Description: If the action is contained in an behavior that is acting as the body of a method, then the operation of the method must not be static.
Expression: true

Signature: multiplicity() : Boolean;
Description: The multiplicity of the result output pin is 1..1.
The OCL used here is not normative.
Editor's notes: No multiplicity
Expression: self.result.is(1,1)
Original: self.result.multiplicity.is(1,1)

Signature: contained() : Boolean;
Description: The action must be contained in an behavior that has a host classifier.
The OCL used here is not normative.
Editor's notes: Classifier.context is declared derived, but not derivation is provided.
Expression: true
Original: self.context->size() = 1

Operations:

No additional operations.



Send questions or comments to [email protected].