Setting the visibility property for attributes and operations
In UML diagrams, you can
set the visibility property for an attribute or an operation to specify
whether it is accessible to other elements outside of its container.
Before you begin
Procedure
In the diagram editor, right-click an attribute or an operation;
then click Visibility and select one of the
following options:
- Public
- Protected
- Private
- Package
What to do next
Tip: You can also set the visibility for a selected
attribute or operation in the Properties view
on the General page.