| Enum Constant and Description |
|---|
CONTEXT
Deprecated.
Represents context
|
PAGE
Deprecated.
Represents a page
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDatabaseIntValue()
Deprecated.
Returns the integer value that will be stored in the database to represent the type of data
|
static CacheType |
getTypeFromInt(int databaseValue)
Deprecated.
Returns the cache type based on the value stored in the database
|
static CacheType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static CacheType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheType PAGE
public static final CacheType CONTEXT
public static CacheType[] values()
for (CacheType c : CacheType.values()) System.out.println(c);
public static CacheType 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 int getDatabaseIntValue()