Annotation Interface Enumerated
Specifies that a persistent property or field should be persisted as an enumerated type.
If the enumerated type is not specified or the Enumerated annotation is not used, the EnumType value is assumed to be
STRING
.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
EnumType value(Optional) The type used in mapping an enum type.- Returns:
- Enum mapping type
- Default:
- STRING
-