standard.associationend Java Association End, javaassociationendproperty Java Association End Property

Warning the following fields appear only for parameters belonging to java elements.
08 association end 1

Keys:

1 A real-time preview of the generated code.
2 The UML name field is used to modify the UML name of the Association End, i.e. the name that appears in the model browser.
3 The Alias tick-box is used to indicate that the Association End will use an alias for the generated file. This can be useful if the UML name of the Association End is not compatible with the java naming rules. When checked, a new field used to enter the alias name appears on the right.
4 The Visibility buttons are used to indicate the visibility of the Association End.
5 The Modifiers tick-boxes are used to indicate the modifiers which will be generated in the Association End signature.
6 The Manual type tick-box makes you enter a manual type expression to be used as-is for the Association End.
7 The Value type field is used to select a type for the Association End. [1]
8 The Qualified tick-box is checked to indicate the association end’s type is to be generated with a qualified name.
9 The Template field is used to enter a template parameter to be added to the value type definition.
10 The Cardinalities fields are used to set the Association Ends cardinalities, min and max.
11 The Collection drop-list is used to select a collection. If the selected collection is a Map, a new field used to select a Map key appears.
12 The Map key field is used to select a type to be used as key if the selected collection is a map.[1]
13 The Initial value buttons are used to indicate if an initial value is to be generated for the Association End:
  • If the None button is checked, no initial value is added.

  • If the New button is checked, the initial value will be automatically generated based on the defined Value type/Collection.

  • If the Custom button is checked, a new field used to enter the initial value appears on the right to enter the value.

14 The Get assessor buttons are used to indicate if a automethodGetter exists for the Association End and with which visibility.
15 The Set assessor buttons are used to indicate if a automethodSetter exists for the Association End and with which visibility.
16 The Annotations field is used to enter a Java Annotation content for the Association End.
17 The Javadoc field is used to enter a javadoc content for the Association End.
18 The Java Property tick-box is used to transform the Association End into an javaassociationendproperty Association End Property.[2]
19 The No code field is used to indicate that the Association End will not be generated.

1. This is an assisted field, you can either enter the type’s name and press Ctrl+space for auto-completion or click on the field and then click on the wanted element in the model.
2. With properties, get/set accessors are automatically added at generation and not represented in the model itself as operations.