UML Diagrams Zicomi Systems publishes some UML example diagrams online from the world famous UML dictionary. more...
Version 2.5 Released Zicomi Systems is delighted to announce that version 2.5 of Zicomi Mentor is released. With support for UML 2.0 and all thirteen UML diagrams more...
Zicomi Systems' Director speaks about the UML at Objects by Design - an informative interview more...
Partner Programme Zicom Systems is delighted to announce a new world wide partner programme, become a partner today. more...
OMG Member Zicom Systems is made a member of the OMG!
Package Visibility
When the value of package is specified for the visibility property of an association end it signifies that any classifier that is contained in the same package as the association (or any nested sub package) may traverse the relationship and use the role name in expressions.
Explanation
The visibility property of an association end specifies the visibility of the role when viewed from the classifier at the far (source) end of the association. It is an important semantic or structural property that describes the accessibility (visibility) of the role. The value package means that the role (association end) can be traversed or accessed not only by the classifier that is attached at the far end but also by any other classifiers that are contained in the same package that the association has been declared in. There is no restriction to the level of nesting within the package.
An association end is related to the value package, which specifies the visibility property, because this attribute is added to an association end to increase the precision of the semantics, describing an aspect of the way the classifier participates in the association relationship.
The value public is related to the value of package because they are both values that can be set for the visibility property of an association end. The value public is less restrictive than package.
The value protected is related to the value of package because they are both values that can be set for the visibility property of an association end. The value protected is in most circumstances more restrictive than package.
The value private is related to the value of package because they are both values that can be set for the visibility property of an association end. The value private is more restrictive than package.