Class UML 2.3::Variable
Description:
A variable is considered a connectable element.
Direct Superclasses: ConnectableElement,
MultiplicityElementDirect Subclasses: Class Precedence List: Variable,
ConnectableElement,
ParameterableElement,
TypedElement,
NamedElement,
MultiplicityElement,
ElementProperties:
![](/se-interop/image/down-arrow.png)
activityScope :
Activity (0 1); -- source
Variable![](/se-interop/image/right-arrow.png)
scope :
StructuredActivityNode (0 1); -- source
Variable A structured activity node that owns the variable.
Subsets: NamedElement.namespace
Opposite: StructuredActivityNode.variable
![](/se-interop/image/down-arrow.png)
end :
ConnectorEnd (0 *); -- source
ConnectableElement![](/se-interop/image/right-arrow.png)
templateParameter :
ConnectableElementTemplateParameter (0 1); -- source
ConnectableElement The ConnectableElementTemplateParameter for this ConnectableElement parameter.
Redefines: ParameterableElement.templateParameter
Opposite: ConnectableElementTemplateParameter.parameteredElement
![](/se-interop/image/down-arrow.png)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png)
type :
Type (0 1); -- source
TypedElement![](/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)
isOrdered : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
isUnique : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
lower : Integer (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
lowerValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
upper : UnlimitedNatural (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
upperValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
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].