org.jboss.cache.pojo.util
Class ObjectUtil
java.lang.Object
org.jboss.cache.pojo.util.ObjectUtil
public final class ObjectUtil
- extends java.lang.Object
Unitlity methods for pojo object.
- Author:
- Ben Wang
Method Summary |
static java.lang.String |
getIndirectFqn(Fqn fqn)
|
static java.lang.String |
getIndirectFqn(java.lang.String fqn)
|
static java.lang.String |
identityString(java.lang.Object object)
|
static boolean |
isReachable(PojoCacheImpl cache,
java.lang.Object originalObject,
java.lang.Object thisObject)
Static methos to check if thisObject is reachable from originalObject . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectUtil
public ObjectUtil()
isReachable
public static boolean isReachable(PojoCacheImpl cache,
java.lang.Object originalObject,
java.lang.Object thisObject)
throws CacheException
- Static methos to check if
thisObject
is reachable from originalObject
.
- Parameters:
cache
- originalObject
- thisObject
-
- Returns:
-
- Throws:
CacheException
getIndirectFqn
public static java.lang.String getIndirectFqn(Fqn fqn)
getIndirectFqn
public static java.lang.String getIndirectFqn(java.lang.String fqn)
identityString
public static java.lang.String identityString(java.lang.Object object)