public enum PersistenceUnitCaching extends java.lang.Enum<PersistenceUnitCaching>
Java class for persistence-unit-caching-type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="persistence-unit-caching-type">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="ALL"/>
<enumeration value="NONE"/>
<enumeration value="ENABLE_SELECTIVE"/>
<enumeration value="DISABLE_SELECTIVE"/>
<enumeration value="UNSPECIFIED"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ALL |
DISABLE_SELECTIVE |
ENABLE_SELECTIVE |
NONE |
UNSPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static PersistenceUnitCaching |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static PersistenceUnitCaching |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceUnitCaching[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceUnitCaching ALL
public static final PersistenceUnitCaching NONE
public static final PersistenceUnitCaching ENABLE_SELECTIVE
public static final PersistenceUnitCaching DISABLE_SELECTIVE
public static final PersistenceUnitCaching UNSPECIFIED
public static PersistenceUnitCaching[] values()
for (PersistenceUnitCaching c : PersistenceUnitCaching.values()) System.out.println(c);
public static PersistenceUnitCaching 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 nullpublic java.lang.String value()
public static PersistenceUnitCaching fromValue(java.lang.String v)