V - is the generic type of the value. This may be a simple datatype such as
String or Long or this type itself implementing EnumType.public interface EnumType<V> extends SimpleDatatype<V>
Enum but also something more complex such as a dynamic
enumeration that is configured via a database. For this reason it is called EnumType rather than
EnumDatatype. However, for convenience and simplicity it extends Datatype. For being
less invasive, also standard java Enums are supported by EnumDefinition. Therefore it is
recommended but NOT technically required to implement this interface for your custom Enums that
shall be supported by EnumProvider. If you have an Enum with a
category you will need to implement EnumTypeWithCategory
for according support. Datatype or at least a transfer-object to represent the
enumeration instances. Using an Entity as EnumType should be avoided.getValueCopyright © 2001–2015 mmm-Team. All rights reserved.