Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PropertyDescription
Name

The name of the property.
This name will be added and visible in the specification of the element whose type is defined as a customization target.

Type

The type of the derived property values. You may set a model element type or a data type (e.g., string, boolean, orintegerfrom the UML Standard Profile) as a property value.

Tip

To display classes and components as property values, select the classifier as a type for the derived property value.

Multiplicity

The multiplicity of the derived property values.

Tip

If the multiplicity is “0..1”, the derived property value will be shown as single.
If the multiplicity is “0..*”, the derived property values will be shown as collection.

Is Read Only

If true, the derived property is read-only. You cannot edit the result elements for the derived property value.
If false, the property is read-write. You can edit the result elements for the derived property according to the expressions defined.

Is Ordered

If true, the property values are always displayed in the same order.
If false, the property values are displayed in nonpredictable order.

Is Unique

If true, the property values are unique. The same element is displayed only once.
If false, the property values may be displayed more than once.

Expression

One or more expressions of the derived property.
An expression defines the criterion for selecting result elements.

There are ten possible expression types:

  • Metachain navigation (indirect relations through chains of properties)

  • Find

  • Union

  • Exclude

  • Filter

  • Various scripts

  • Implied Relation
  • Type Test
  • Property Test
  • Operation from Model

The criterion for selecting the result elements can also be any combination of the expression types above.
For the detailed information, see Defining expressions.

Note

Only one Simple Navigation operation criterion can be assigned to the expression of the derived property.   

Documentation

The text displayed as the derived property description in the element’s Specification window and Properties panel.

customizationTarget

The specified derived property will be added to one or more element types (stereotypes and/ or metaclasses).

Note

The expression calculations begin from the element type of the customization target.