Chapter 3 Building Structural Diagrams


Part property sheet General tab

The General tab contains the following properties:

Property Description
Parent Specifies the parent object.
Name 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.
Visibility Specifies the visibility of the object, how it is seen outside its enclosing namespace. You can choose between:

  • Private – only to the object itself
  • Protected – only to the object and its inherited objects
  • Package – to all objects contained within the same package
  • Public – to all objects (option by default)
Data type Specifies a classifier as a data type.
Multiplicity Specifies the number of instances of the part. If the multiplicity is a range of values, it means that the number of parts can vary at run time.

You can choose between:

  • * – none to unlimited
  • 0..* – zero to unlimited
  • 0..1 – zero or one
  • 1..* – one to unlimited
  • 1..1 – exactly one
Composition Specifies the nature of the association with the parent object. If this option is selected, it is a composition and if not, an aggregation.

 


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