Chapter 3 Building Structural Diagrams
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. |
Extends | Specifies the parent class (to which the present class is linked by a generalization). Click the Select Classifier tool to the right to specify a parent class and click the Properties tool to access its property sheet. |
Stereotype | Extends the semantics of the object beyond the core UML definition. The following common stereotypes are available by default:
Other language-specific stereotypes may be available. These stereotypes are defined in the object language file. For more information, see the "Stereotypes category" section, in the Object Languages Reference Guide chapter of Advanced User Documentation. |
Visibility | Specifies the visibility of the object, how it is seen outside its enclosing namespace. When a class is visible to another object, it may influence the structure or behavior of the object, and/or be affected by it. You can choose between:
|
Cardinality | Specifies the number of instances a class can have. You can choose between:
|
Type | Allows you to specify that a class 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 "Class property sheet Generic tab"). For more information on generic types and binding classes to them, see the "Generic types and methods" section. |
Abstract | Specifies that the class cannot be instantiated and therefore has no direct instances. |
Final | Specifies that the class cannot have any inherited objects. |
Generate code | Specifies that the class is included when you generate code from the model, it does not affect inter-model generation. |
For more information on how to manipulate categories and entries in the object language, see the "The Resource Editor" chapter in the General Features Guide.
For more information on extended model definitions, see the "Working with extended model definitions" section in the "Managing Objects" chapter in the General Features Guide .
Copyright (C) 2006. Sybase Inc. All rights reserved. |
![]() |