![]() |
![]() |
![]() |
![]() |
Class Specification--General Tab Class Specification--General Tab
Figure 18 Class Specification--General Tab
Refer to the descriptions in the Introduction to Specifications chapter for information on the specification elements not covered in the following section.
Type
Your Type choices include: Class, Parameterized Class, Instantiated Class, Class Utility, Parameterized Class Utility, Instantiated Class Utility, and Metaclass.
Parent
The parent to which the class belongs (its package) is displayed in this static field.
Stereotype
A stereotype represents the subclassification of an element. It represents a class within the UML metamodel itself; that is, a type of modeling element. Some stereotypes are already predefined. You can also define your own stereotypes.
Stereotypes can be shown in the browser and on diagrams. The name of the stereotype may appear in angle brackets <<>>, depending on the settings found in either the Diagram or Browser tabs of the Options dialog box. Click Tools > Options to display the Options dialog box. Refer to the Stereotypes chapter for more information on stereotypes.
To show stereotypes on the diagrams, right-click a class, and then click Options > Stereotype Display > None, Label, Decoration, or Icon from the shortcut menu. These commands display the following information.
Export Control
The Export Control field specifies how a class and its elements are viewed outside of the defined package.
The Export Control field can be set only in the specification. No special annotation is related to access control properties.
To change the export control type for the class, click the appropriate option in the Export Control field. You can display the implementation export control in the component compartment. You can display visibility in an icon through the shortcut menu.
Rational Software Corporation
http://www.rational.com support@rational.com docs@us.ibm.com Copyright © 1993-2000, Rational Software Corporation. All rights reserved. |
![]() |
![]() |
![]() |
![]() |