|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.ElementIdHelper
public class ElementIdHelper
Provide access to the package private methods for getting/setting Element id. The id field of an Element is for internal ehcache use only and this class is meant to discourage casual use of the methods from application code
Constructor Summary | |
---|---|
ElementIdHelper()
|
Method Summary | |
---|---|
static long |
getId(Element e)
Get the element id |
static boolean |
hasId(Element e)
Is element id set? |
static void |
setId(Element e,
long id)
Set the element id |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementIdHelper()
Method Detail |
---|
public static boolean hasId(Element e)
e
- element to inspect
public static long getId(Element e)
e
- element to inspect
public static void setId(Element e, long id)
e
- element to adjustid
-
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |