Chapter 4 Building Structural Diagrams


Associations properties

You can modify an object's properties from its property sheet. To open an association property sheet, double-click its diagram symbol or its Browser entry in the Associations folder. The following sections detail the property sheet tabs that contain the properties most commonly entered for associations.

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. <<implicit>> means that the relationship is not manifest, it is only conceptual
Class A Name of the class at one end of the association. You can use the tools to the right of the list to create an object, browse the complete tree of available objects or view the properties of the currently selected object
Class B Name of the class at the other end of the association. You can use the tools to the right of the list to create an object, browse the complete tree of available objects or view the properties of the currently selected object
Type Specifies the type of association. You can choose between:

  • Association
  • Aggregation – a part-whole relationship between a class and an aggregate class
  • Composition – a form of aggregation but with strong ownership and coincident lifetime of parts by the whole
Container If the association is an aggregation or a composition, the container radio buttons let you define which class contains the other in the association
Association Class Class related to the current association that completes the association definition

 


Copyright (C) 2008. Sybase Inc. All rights reserved.