java.io.Serializable
, java.lang.Comparable<Type.PersistenceType>
public static enum Type.PersistenceType extends java.lang.Enum<Type.PersistenceType>
Enum Constant | Description |
---|---|
BASIC |
Basic type
|
EMBEDDABLE |
Embeddable class
|
ENTITY |
Entity
|
MAPPED_SUPERCLASS |
Mapped superclass
|
Modifier and Type | Method | 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 ENTITY
public static final Type.PersistenceType EMBEDDABLE
public static final Type.PersistenceType MAPPED_SUPERCLASS
public static final Type.PersistenceType BASIC
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 nullCopyright © 2018. All rights reserved.