Chapter 4 Building Structural Diagrams
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. The following sections detail the property sheet tabs that contain the properties most commonly entered for interfaces.
The General tab contains the following properties:
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 the Generic types and methods section. |
Generate | The interface is automatically included among the objects generated from the model when you launch the generation process |
Copyright (C) 2008. Sybase Inc. All rights reserved. |
![]() |