Part Properties

You can modify an object's properties from its property sheet. To open a part property sheet, double-click its diagram symbol or its entry in the Browser.

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.

The following tabs list objects associated with the part:


  • Ports - lists the ports associated with the part. You can create ports directly in this tab. For more information, see Ports (OOM).


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com