An enumeration can be used by the component in which it is defined as well as by other components. The following sections describe the use of an enumeration.
The user-defined type that represents an enumeration is a legal type for all of the following data items:
object attribute
event supplemental data item
bridge argument
bridge return value
operation argument
operation return value
domain function argument
domain function return value
Enumerators can also be used in the following operations:
comparison for equality and inequality
assignment to local variable