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=3899%3ADD9788D56C03142D28B188D27790E4D4)
activityScope :
Activity (0 1); -- source
Variable![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
scope :
StructuredActivityNode (0 1); -- source
Variable![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
isOrdered : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
isUnique : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
lower : Integer (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
lowerValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
upper : UnlimitedNatural (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
upperValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
end :
ConnectorEnd (0 *); -- source
ConnectableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
templateParameter :
ConnectableElementTemplateParameter (0 1); -- source
ConnectableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
type :
Type (0 1); -- source
TypedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=3899%3ADD9788D56C03142D28B188D27790E4D4)
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].