values() - JPA EnumType's static method
Static Method javax.persistence.EnumType
EnumType[] values()
Returns an array containing the constants of this enum type.
This method may be used to iterate over the constants as follows:
for (EnumType c : EnumType.values()) System.out.println(c)
- Returns:
- an array containing the constants of this enum type, in the order they are declared