Class UML 2.4.1::Variable
Description:
A variable is considered a connectable element.Variables are elements for
passing data between actions indirectly. A local variable stores values
shared by the actions within a structured activity group but not accessible
outside it. The output of an action may be written to a variable and read
for the input to a subsequent action, which is effectively an indirect
data flow path. Because there is no predefined relationship between actions
that read and write variables, these actions must be sequenced by control
flows to prevent race conditions that may occur between actions that read
or write the same variable.
Direct Superclasses: MultiplicityElement,
ConnectableElementDirect Subclasses: Class Precedence List: Variable,
MultiplicityElement,
ConnectableElement,
TypedElement,
NamedElement,
ParameterableElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
activityScope :
Activity (0 1); -- source
Variable![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
scope :
StructuredActivityNode (0 1); -- source
Variable![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
isOrdered : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
isUnique : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
lower : Integer (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
lowerValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
upper : UnlimitedNatural (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
upperValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
end :
ConnectorEnd (0 *); -- source
ConnectableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
templateParameter :
ConnectableElementTemplateParameter (0 1); -- source
ConnectableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
type :
Type (0 1); -- source
TypedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=133556%3AFB29BBD7ECD1E6FD24D16F2CB7287D51)
owner :
Element (0 1); -- source
ElementConstraints:
Signature: owned() : Boolean;
Description: A variable is owned by a StructuredNode or Activity, but not both.
Expression: true
Operations:
Signature: isAccessibleBy(a : Action; ) : Boolean;
Description: The isAccessibleBy() operation is not defined in standard UML. Implementations
should define it to specify which actions can access a variable.
Expression: result = true
Send questions or comments to
[email protected].