Previous Topic: Named Values

Next Topic: NumericString Type

Constraints

If a component indirectly references an enumerated type, it is possible to constrain it to a subset of the set of named values. For example:

X Y(ONE, FIVE, SIX)
Y ::= ENUMERATED {ONE(1), TWO(2), THREE (3), FOUR (4), FIVE (5), SIX (6)}

Component X is restricted to a subset (one, five, six) of the named values of type Y (one, two, three, four, five, six).