Notice that, for any multi-valued enumeration attribute (like
add a class-level check function for single values (like
checkSomeThing) and another
one for value sets (like
checkSomeThings) returning an object of type
ConstraintViolation, and a setter (like
setSomeThings) for assigning a
set of enumeration literals to the multi-valued enumeration attribute.