You can modify an object's properties from its property sheet. To open an interface property sheet, double-click its diagram symbol or its Browser entry in the Interfaces folder.
Property |
Description |
---|---|
Name |
Specifies the name of the item, which should be clear and meaningful, and should convey the item's purpose to non-technical users. |
Code |
Specifies the technical name of the object, which is used for generating code or scripts. |
Comment |
Descriptive comment for the object. |
Stereotype |
Extends the semantics of the object beyond the core UML definition. The following common stereotypes are available by default:
|
Visibility |
|
Inner to |
Indicates the name of the class or interface to which the current interface belongs as an inner classifier |
Type |
Allows you to specify that an interface is a generic type, or that it is bound to one. You can choose between:
If you specify either Generic or Bound, then the Generic tab is displayed, allowing you to control the associated type variables (see Generic Types and Methods). |
Generate |
The interface is automatically included among the objects generated from the model when you launch the generation process |
The following tabs list objects associated with the interface:
Attributes - lists the attributes associated with the interface. You can create attributes directly in this page, or add already existing attributes. For more information, see Attributes (OOM).
Operations - lists the operations associated with the interface. You can create operations directly in this page, or add already existing operations. For more information, see Operations (OOM).
Generic - lets you specify the type parameters of a generic interface or values for the required type parameters for an interface that is bound to a generic type (see Generic Types and Methods
Inner Classifiers - lists the inner classes and interfaces associated with the interface. You can create inner classifiers directly in this page. For more information, see Composite and Inner Classifiers.
Related Diagrams - lists and lets you add model diagrams that are related to the interface (see "Specifying Diagrams as Related Diagrams" in Chapter 5, Diagrams, Matrices, and Symbols in the Core Features Guide.