public enum PersistenceUnitCachingType extends Enum<PersistenceUnitCachingType>
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 PersistenceUnitCachingType |
fromValue(String v) |
String |
value() |
static PersistenceUnitCachingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersistenceUnitCachingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistenceUnitCachingType ALL
public static final PersistenceUnitCachingType NONE
public static final PersistenceUnitCachingType ENABLE_SELECTIVE
public static final PersistenceUnitCachingType DISABLE_SELECTIVE
public static final PersistenceUnitCachingType UNSPECIFIED
public static PersistenceUnitCachingType[] values()
for (PersistenceUnitCachingType c : PersistenceUnitCachingType.values()) System.out.println(c);
public static PersistenceUnitCachingType 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 nullpublic String value()
public static PersistenceUnitCachingType fromValue(String v)
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.