Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Source Role

This description refers to the role of the Source element in a relationship, but applies equally to the role of the Target element.

A connector can have certain properties assigned to one end, and be associated with the particular role that element plays in the relationship. You can enter details about this role to further develop your model.

Set Source Role Details

To set the source role details, follow the steps below:

  1. Double-click on a connector. The Connector Properties dialog displays.
  2. Select the Source Role tab.
  3. Enter the required details and click on the OK button.
    asociation properties dialog


Use to

<Type> Role

Type in or select the name of the role to be played.


Type an alias for the role, if required.

Role Notes

Type in any required notes about the role.


Indicate that the role value or values can be computed from other information.


Indicate that the role is owned by the opposite Class rather than the Association. Selecting this checkbox adds a 'dot' to the appropriate end of the connector. ( dot )

Derived Union

Indicate that the role is derived from the properties that subset it.


Specify the role multiplicity. (You can define the values of this field on the Cardinality tab of the UML Types dialog.)

This is the range of instances of the role that can be active in the relationship; for example, one employee can be assigned to tasks; for the target role you define the range of instances (such as tasks) the employee could be assigned to.

The values have the following formats:

  • *, or 0..* - zero, one or many instances
  • 0..n - zero or up to n instances, but no more than n
  • n - exactly n instances
  • n..* - n, or more than n instances.

Note that you can also define source and target element multiplicity in the element Attribute properties.


Indicate that the role is a list and the list is ordered.

Allow Duplicates

Indicate that the role can contain duplicate elements (relevant only if multiplicity is > 1).

Maps to the UML property isUnique (selecting the checkbox maps to the isUnique value of FALSE).


Indicate the nature of the containment at the Destination (reference, value...).


Select the access level for the role.


Select the type of aggregation that this role uses.

Target Scope

Select the level at which this role applies (instance or classifier).


Select whether or not this role is navigable (non-navigable ends are shown depending on diagram properties).


Select whether this role is subject to change.


Type in any constraint on the role.


Type any qualifiers or restrictions on the role. Separate multiple qualifiers with a semi-colon.

Alternatively, click on the [ ... ] button at the end of the field, and define a new qualifier on the Qualifiers dialog. (Qualifiers typed into the Qualifier(s) field are also automatically added to this dialog.)


(Optional) Type the name of a stereotype that applies to this end of the Association, or click on the [ ... ] button at the end of the field and select a stereotype from the Stereotype Selector dialog.

Member Type

Type a role type that can be used when generating collection Classes for multiplicity > 1.


Source role details are displayed at the start end of a connector. If you have drawn the connector the wrong way, you can always use the Reverse Direction menu option from the connector context menu.