Class UML 2.3::RemoveVariableValueAction
Description:
A remove variable value action is a write variable action that removes
values from variables.
Direct Superclasses: WriteVariableActionDirect Subclasses: Class Precedence List: RemoveVariableValueAction,
WriteVariableAction,
VariableAction,
Action,
ExecutableNode,
ActivityNode,
RedefinableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png)
isRemoveDuplicates : Boolean (1 1); -- source
RemoveVariableValueAction![](/se-interop/image/down-arrow.png)
removeAt :
InputPin (0 1); -- source
RemoveVariableValueAction![](/se-interop/image/down-arrow.png)
value :
InputPin (0 1); -- source
WriteVariableAction![](/se-interop/image/down-arrow.png)
variable :
Variable (1 1); -- source
VariableAction![](/se-interop/image/down-arrow.png)
context :
Classifier (0 1); -- source
Action![](/se-interop/image/down-arrow.png)
input :
InputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png)
isLocallyReentrant : Boolean (1 1); -- source
Action![](/se-interop/image/down-arrow.png)
localPostcondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png)
localPrecondition :
Constraint (0 *); -- source
Action![](/se-interop/image/down-arrow.png)
output :
OutputPin (0 *); -- source
Action![](/se-interop/image/down-arrow.png)
handler :
ExceptionHandler (0 *); -- source
ExecutableNode![](/se-interop/image/down-arrow.png)
activity :
Activity (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
inGroup :
ActivityGroup (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
inInterruptibleRegion :
InterruptibleActivityRegion (0 *); -- source
ActivityNode![](/se-interop/image/right-arrow.png)
inPartition :
ActivityPartition (0 *); -- source
ActivityNode Partitions containing the node.
Subsets: ActivityNode.inGroup
Opposite: ActivityPartition.node
![](/se-interop/image/down-arrow.png)
inStructuredNode :
StructuredActivityNode (0 1); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
incoming :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
outgoing :
ActivityEdge (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
redefinedNode :
ActivityNode (0 *); -- source
ActivityNode![](/se-interop/image/down-arrow.png)
isLeaf : Boolean (1 1); -- source
RedefinableElement![](/se-interop/image/down-arrow.png)
redefinedElement :
RedefinableElement (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png)
redefinitionContext :
Classifier (0 *); -- source
RedefinableElement![](/se-interop/image/down-arrow.png)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/right-arrow.png)
ownedElement :
Element (0 *); -- source
Element The Elements owned by this element.
{
composite,
readonly}
Derived union with sources: (ownedComment, nameExpression, handler, output, localPrecondition, localPostcondition, input, value, removeAt)
Opposite: Element.owner
![](/se-interop/image/down-arrow.png)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: unlimited_natural() : Boolean;
Description: Actions removing a value from ordered non-unique variables must have a
single removeAt input pin and no value input pin if isRemoveDuplicates
is false. The removeAt pin must be of type Unlimited Natural with multiplicity
1..1. Otherwise, the action has a value input pin and no removeAt input
pin.
Expression: if not self.variable.isOrdered or self.variable.isUnique or isRemoveDuplicates then
self.removeAt -> isEmpty() and self.value -> notEmpty()
else
self.value -> isEmpty() and
self.removeAt -> notEmpty() and
self.removeAt.type = UnlimitedNatural and
self.removeAt.lower() = 1 and
self.removeAt.upper() = 1
endif
Operations:
No additional operations.
Send questions or comments to
[email protected].