Previous Topic: EnumerationsNext Topic: Metadata Definition


Dynamic Enumerations

Like a static enumeration, a dynamic enumeration also allows an attribute to be a set of enumerated choices. However the choices are dynamic, that is, searches obtain the values. Dynamic enumerations are implemented as an association in the metadata where the other end of the association is a read-only class with isUnmanaged=true and one (or at least a small number) of display attributes. To retrieve the names of the objects you want the user to select, you search for the objects of the end class.

Such associations do not require a reverse association attribute, as the association is only retrieved in one direction.

The client displays this as an association along with the normal search screens. It is not currently possible to select alternative UI representations like a simpler selection list.