|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MetaDataCacheOption>
javax.rad.model.MetaDataCacheOption
public enum MetaDataCacheOption
The MetaDataCacheOption
is the enum type for client and server-side metadata cache options.
Enum Constant Summary | |
---|---|
Default
Use default settings (checks global caching option). |
|
Off
No caching. |
|
On
Cache meta data (independent of global caching option). |
Method Summary | |
---|---|
static MetaDataCacheOption |
resolve(String pName)
Resolves the cache option specified by a string. |
static MetaDataCacheOption |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MetaDataCacheOption[] |
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 MetaDataCacheOption Default
public static final MetaDataCacheOption On
public static final MetaDataCacheOption Off
Method Detail |
---|
public static MetaDataCacheOption[] values()
for (MetaDataCacheOption c : MetaDataCacheOption.values()) System.out.println(c);
public static MetaDataCacheOption valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static MetaDataCacheOption resolve(String pName)
DEFAULT
as Default
.
pName
- the option name
IllegalArgumentException
- if pName
is null
or the name is unknown
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |