Glossary of Unified Modeling Language Terms - V

V

  • Visibility - the availability for access of elements in a model. Typically used to limit the visibility of features defined by a Class (e.g., attributes, operations). When applied to features defined by a class, the standard options are:
    • private (-): available only within the Class in which it was defined. This is the most limited visibility
    • protected (#): available within any subclass of this class and within the package which directly contains the defining Class
    • package (~): available only within the Package which directly contains the defining Class
    • public (+): available to any Class that can see the defining Class. The is the least limited visibility.

Read more about this topic:  Glossary Of Unified Modeling Language Terms