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?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
activityScope :
Activity (0 1); -- source
Variable![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
scope :
StructuredActivityNode (0 1); -- source
Variable![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
end :
ConnectorEnd (0 *); -- source
ConnectableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
templateParameter :
ConnectableElementTemplateParameter (0 1); -- source
ConnectableElement![](/se-interop/image/right-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement The formal template parameter that owns this element.
Subsets: Element.owner, ParameterableElement.templateParameter
Opposite: TemplateParameter.ownedParameteredElement
![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
type :
Type (0 1); -- source
TypedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/right-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
namespace :
Namespace (0 1); -- source
NamedElement Specifies the namespace that owns the NamedElement.
{
readonly}
Derived union with sources: (scope, activityScope)
Subsets: Element.owner
Opposite: Namespace.ownedMember
![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
visibility :
VisibilityKind (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
isOrdered : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
isUnique : Boolean (1 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
lower : Integer (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
lowerValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
upper : UnlimitedNatural (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
upperValue :
ValueSpecification (0 1); -- source
MultiplicityElement![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=68835%3AD6EBD49B427C59274706BC1D2C3CE6D6)
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].