public static enum Type.PersistenceType extends java.lang.Enum<Type.PersistenceType>
Enum Constant and Description |
---|
BASIC |
EMBEDDABLE |
ENTITY |
MAPPED_SUPERCLASS |
Modifier and Type | Method and Description |
---|---|
static Type.PersistenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Type.PersistenceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Type.PersistenceType BASIC
public static final Type.PersistenceType EMBEDDABLE
public static final Type.PersistenceType ENTITY
public static final Type.PersistenceType MAPPED_SUPERCLASS
public static Type.PersistenceType[] values()
for (Type.PersistenceType c : Type.PersistenceType.values()) System.out.println(c);
public static Type.PersistenceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null