Class UML 2.3::AddVariableValueAction
Description:
An add variable value action is a write variable action for adding values
to a variable.
Direct Superclasses: WriteVariableActionDirect Subclasses: Class Precedence List: AddVariableValueAction,
WriteVariableAction,
VariableAction,
Action,
ExecutableNode,
ActivityNode,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
insertAt :
InputPin (0 1); -- source
AddVariableValueAction![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
isReplaceAll : Boolean (1 1); -- source
AddVariableValueAction![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
value :
InputPin (0 1); -- source
WriteVariableAction![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
variable :
Variable (1 1); -- source
VariableAction![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
context :
Classifier (0 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
localPostcondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
output :
OutputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
activity :
Activity (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
inPartition :
ActivityPartition (0 *); -- source
ActivityNode![](/se-interop/image/right-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode Structured activity node containing the node.
Subsets: ActivityNode.inGroup
Opposite: StructuredActivityNode.node
![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/right-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode Edges that have the node as source.
Opposite: ActivityEdge.source
![](/se-interop/image/right-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode Inherited nodes replaced by this node in a specialization of the activity.
Subsets: RedefinableElement.redefinedElement
![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/right-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
visibility :
VisibilityKind (0 1); -- source
NamedElement Determines where the NamedElement appears within different Namespaces within
the overall model, and its accessibility.
![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=48711%3A441A8F7F6351733D9E45A6C1C49B7B93)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: single_input_pin() : Boolean;
Description: Actions adding values to ordered variables must have a single input pin
for the insertion point with type UnlimtedNatural and multiplicity of 1..1,
otherwise the action has no input pin for the insertion point.
The OCL used here is not normative.Editor's notes: No multiplicity, extra close-paren
Expression: let insertAtPins : Collection = self.insertAt in
if self.variable.ordering = #unordered
then insertAtPins->size() = 0
else let insertAtPin : InputPin = insertAt->asSequence()->first() in
insertAtPins->size() = 1
and insertAtPin.type = UnlimitedNatural
and insertAtPin.is(1,1)
endif
Original: let insertAtPins : Collection = self.insertAt in
if self.variable.ordering = #unordered
then insertAtPins->size() = 0
else let insertAtPin : InputPin = insertAt->asSequence()->first() in
insertAtPins->size() = 1
and insertAtPin.type = UnlimitedNatural
and insertAtPin.multiplicity.is(1,1))
endif
Signature: required_value() : Boolean;
Description: A value input pin is required.
Expression: self.value -> notEmpty()
Operations:
No additional operations.
Send questions or comments to
[email protected].