|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Type.PersistenceType> javax.persistence.metamodel.Type.PersistenceType
public static enum Type.PersistenceType
Enum Constant Summary | |
---|---|
BASIC
Basic type |
|
EMBEDDABLE
Embeddable class |
|
ENTITY
Entity |
|
MAPPED_SUPERCLASS
Mapped superclass |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
EclipseLink 2.2.0, build 'v20110202-r8913' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |