|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.wanghy.cache.interceptor.caching.Cached
Source-level metadata attribute that identifies the methods which return value should be stored in the cache.
Field Summary | |
private String |
cacheProfileId
The id of the cache profile to use. |
private static long |
serialVersionUID
Version number of this class. |
Constructor Summary | |
Cached()
Constructor. |
|
Cached(String cacheProfileId)
Constructor. |
Method Summary | |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
String |
getCacheProfileId()
Getter for field . |
int |
hashCode()
Returns a hash code value for the object. |
void |
setCacheProfileId(String cacheProfileId)
Setter for the field . |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
Serializable
,
Constant Field Valuesprivate String cacheProfileId
Constructor Detail |
public Cached()
public Cached(String cacheProfileId)
cacheProfileId
- the id of the cache profile to use.Method Detail |
public boolean equals(Object obj)
obj
- the reference object with which to compare.
true
if this object is the same as the obj argument;
false
otherwise.Object.equals(java.lang.Object)
public final String getCacheProfileId()
cacheProfileId
.
cacheProfileId
.public int hashCode()
Hashtable
.
Object.hashCode()
public final void setCacheProfileId(String cacheProfileId)
cacheProfileId
.
cacheProfileId
- the new value to setpublic String toString()
toString
method returns a string that "textually represents"
this object.
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |