Enumerations

An enumeration defines a list of options. An attribute can be of type enumeration and that means that its value is one of the options of the enumeration. For example, the status of an order can be Open, Closed, In progress. An enumeration would be ideal to represent these options.

An enumeration has one or more enumeration values. Each value represents one option. An attribute of type enumeration can also be empty to represent an uninitialized state.