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 |
Specifies the visibility of the object, how it is seen outside its enclosing namespace. When an interface is visible to another object, it may influence the structure or behavior of the object, or similarly, the other object can affect the properties of the interface. You can choose between: |
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 Interface property sheet Generic tab). For more information on generic types and binding interfaces to them, 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).
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 the model diagrams that are related to the interface. You can add diagrams in this page. For more information, see "Defining related diagrams" in the Diagrams and Symbols chapter of the Core Features Guide.