Specifying parent name styles in UML diagrams

In UML diagrams, you identify a classifier in the diagram by giving it a unique name. In addition to the classifier name, you can display the classifier's fully qualified name, the classifier's parent name, the classifier's fully qualified parent name, or a combination of these options.
Before you can complete this task, you must have a diagram open in the Modeling perspective, and the diagram must contain at least one classifier.
The following table illustrates the different parent name style notations:
Style Description Example
Fully qualified name The classifier's name compartment displays the concatenation of the parent name and the name of the classifier itself. Class1 is contained by a model called BlankModel1. The classifier's fully-qualified name is BlankModel1::Class1.
Parent name The classifier's name compartment displays the name of the classifier, and below it, the name of the namespace that contains the classifier. Class1 is contained by model BlankModel1. The Class1's parent name, BlankModel1, is displayed in the classifier’s name compartment.
Fully qualified parent name The classifier's name compartment displays the name of the classifier, and below it, the concatenation of the parent names. Class2's concatenated parent name, BlankModel1::Package1 is displayed in the classifier’s name compartment.

To specify the parent name style for an individual classifier, or a set of classifiers, complete one of the following steps:

Tip: To set default preferences for parent name styles click Window > Preferences > Modeling > Diagrams > Appearance > Shapes.
Related tasks
Setting preferences for UML diagrams

Feedback