Customizing the metamodel > Using ListOf, OneOf, and ExpressionOf > ListOf > Heterogeneous lists for listof
  
Heterogeneous lists for listof
A typical ListOf statement provides a list of one object type. To create a list that references more than one object type, use the HETEROGENEOUS (ONEOF, LISTOF) keyword.
Example
In the following example, the “Underlying Procedure” property of the “Procedure” definition can be populated with definitions of the type Use Case, and/or Class, and/or Method, and/or Use Case Step.
Definition " Procedure"
{
PROPERTY "Underlying Procedure"
{ EDIT HETEROGENEOUSLISTOF " Use Case", Class", "Method", "Use Case Step" READONLY}
...
}
See also
ListOf