com.ca.jcs.cache
Enum CacheableStatus
java.lang.Object
java.lang.Enum<CacheableStatus>
com.ca.jcs.cache.CacheableStatus
- All Implemented Interfaces:
- Serializable, Comparable<CacheableStatus>
public enum CacheableStatus
- extends Enum<CacheableStatus>
Statement of what should be cached for an object, if anything.
|
Method Summary |
static CacheableStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CacheableStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
no
public static final CacheableStatus no
connDn
public static final CacheableStatus connDn
connDnAndObjectClass
public static final CacheableStatus connDnAndObjectClass
values
public static CacheableStatus[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CacheableStatus c : CacheableStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CacheableStatus valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Created 2011-07-14 13:27 EST