Software Disclaimer

Class UML 2.3::Variable

Description:

A variable is considered a connectable element.

Direct Superclasses: ConnectableElement, MultiplicityElement

Direct Subclasses:

Class Precedence List: Variable, ConnectableElement, ParameterableElement, TypedElement, NamedElement, MultiplicityElement, Element

Properties:

activityScope : Activity (0 1); -- source Variable
scope : StructuredActivityNode (0 1); -- source Variable
end : ConnectorEnd (0 *); -- source ConnectableElement
templateParameter : ConnectableElementTemplateParameter (0 1); -- source ConnectableElement
owningTemplateParameter : TemplateParameter (0 1); -- source ParameterableElement
type : Type (0 1); -- source TypedElement
clientDependency : Dependency (0 *); -- source NamedElement
name : String (0 1); -- source NamedElement
nameExpression : StringExpression (0 1); -- source NamedElement
namespace : Namespace (0 1); -- source NamedElement
qualifiedName : String (0 1); -- source NamedElement
visibility : VisibilityKind (0 1); -- source NamedElement
isOrdered : Boolean (1 1); -- source MultiplicityElement
isUnique : Boolean (1 1); -- source MultiplicityElement
lower : Integer (0 1); -- source MultiplicityElement
lowerValue : ValueSpecification (0 1); -- source MultiplicityElement
upper : UnlimitedNatural (0 1); -- source MultiplicityElement
upperValue : ValueSpecification (0 1); -- source MultiplicityElement
ownedComment : Comment (0 *); -- source Element
ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element

Constraints:

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].