ca.uhn.cache
Class CacheReasonEnum

java.lang.Object
  extended byorg.apache.commons.lang.enum.Enum
      extended byca.uhn.cache.CacheReasonEnum
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class CacheReasonEnum
extends org.apache.commons.lang.enum.Enum

Type safe codes for reasons for caching data.

Version:
$Revision: 1.1 $ updated on $Date: 2005/01/24 22:52:08 $ by $Author: bryan_tripp $
Author:
Bryan Tripp
See Also:
Serialized Form

Field Summary
static CacheReasonEnum PRE_FETCH
          Describes cached data that are in the cache because they have been pre-fetched.
static CacheReasonEnum QUERY
          Describes cached data that are in the cache because they have been queried by a user.
 
Fields inherited from class org.apache.commons.lang.enum.Enum
iToString
 
Constructor Summary
protected CacheReasonEnum(java.lang.String theName)
           
 
Method Summary
static CacheReasonEnum getEnum(java.lang.String theName)
           
static java.util.List getEnumList()
           
 
Methods inherited from class org.apache.commons.lang.enum.Enum
compareTo, equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY

public static final CacheReasonEnum QUERY
Describes cached data that are in the cache because they have been queried by a user.


PRE_FETCH

public static final CacheReasonEnum PRE_FETCH
Describes cached data that are in the cache because they have been pre-fetched.

Constructor Detail

CacheReasonEnum

protected CacheReasonEnum(java.lang.String theName)
Method Detail

getEnum

public static CacheReasonEnum getEnum(java.lang.String theName)
Parameters:
theName - name of desired CacheReasonEnum
Returns:
CacheReasonEnum that has the given name.

getEnumList

public static java.util.List getEnumList()
Returns:
List of all CacheReasonEnum.


Copyright © 2004-2005 University Health Network. All Rights Reserved.