public static enum Type.PersistenceType extends Enum<Type.PersistenceType>
Enum Constant and Description |
---|
BASIC
Basic type
|
EMBEDDABLE
Embeddable class
|
ENTITY
Entity
|
MAPPED_SUPERCLASS
Mapped superclass
|
Modifier and Type | Method and Description |
---|---|
static Type.PersistenceType |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.