Enumerations
An Enumeration is a data type that can contain a list of values. An Enumeration contains a set of named identifiers, called Enumeration Literals, that represent the values of the enumeration.
An enumeration can be a generalization of Primitive Type Object if it is not a String enumeration.
- See Primitive Types.
- See Generalizations.
You must set up the generalization, and you must have created the Primitive Type object to generalize from.
In the example below, a Primitive Type of the Decimal data type has been created. There is also an Enumeration called Analgesics, containing enumeration literals. You create a generalization from the Enumeration to the Primitive type. In this example, this would create an Analgesics enumeration with decimal literals.
Generalizations of the following data types are not supported: Attachment, Boolean, Duration, ID, Object, URI.