Previous Table of Contents Next


9.21.1 NamedElement


   NamedElement has a visibility attribute.

   Attributes

   • visibility: VisibilityKind [0..1] Determines the visibility of the NamedElement within different Namespaces within the overall model.

   Generalizations

   • “NamedElement? on page 71

   Associations

   No additional associations

   Constraints

   [1] If a NamedElement is not owned by a Namespace, it does not have a visibility.

   namespace->isEmpty() implies visibility->isEmpty()

   Semantics

   The visibility attribute provides the means to constrain the usage of a named element in different namespaces within a model. It is intended for use in conjunction with import and generalization mechanisms.