Fast Object Database for Java - with JPA/JDO support

values() - JPA Type.PersistenceType's static method

Returns an array containing the constants of this enum type.

This method may be used to iterate over the constants as follows:

for (PersistenceType c : PersistenceType.values())
    System.out.println(c)
Returns:
an array containing the constants of this enum type, in the order they are declared