org.eclipse.higgins.cache.api.key
Class CacheKey

java.lang.Object
  extended by org.eclipse.higgins.cache.api.key.CacheKey
All Implemented Interfaces:
Serializable, ICacheKey
Direct Known Subclasses:
UserCacheKey

public class CacheKey
extends Object
implements ICacheKey

Author:
Alexander Yuhimenko
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.eclipse.higgins.cache.api.ICacheKey
USER_CARD_CACHEID, USER_CARD_HISTORY_CACHEID, USER_CARD_METADATA_CACHEID
 
Constructor Summary
CacheKey(String key)
           
 
Method Summary
 boolean equals(Object obj)
           
 Serializable getKey()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheKey

public CacheKey(String key)
         throws CacheException
Parameters:
key -
Throws:
CacheException - if key is null.
Method Detail

getKey

public Serializable getKey()
Specified by:
getKey in interface ICacheKey
Returns:
key value

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object