The following table describes how each type is handled by Apollo for Eclipse:
Table 5.1.
| Java Source - Declared Type | Java Target - Array | Java Target - Generics |
String | String | String |
String[] | String[] | List<String> |
String
[][] | String
[][] | String
[][] |
Instance of
List<String> | String[] | List<String> |
Instance
of
Set<String> | String[] | Collection<String> |
| Instance of Collection<String> | String[] | Collection<String> |
List | Object[] | List |
Set | Object[] | Collection |
Collection | Object[] | Collection |
As of Apollo for Eclipse version 3.0, the array dimension of an association or multi-valued attribute can now be set the Properties tab. This change is propagated throughout the model and code.
