/** * Check is an Object is not an unitialized OCM proxy * @see OcmProxy.isInitialized() * * @param object * the Object to check * @return true if the object is not an OCM proxy or if it has already been * initialized */ public static boolean isInitialized(Object object) { if (!isProxy(object)) { return true; } else { return ((OcmProxy) object).isInitialized(); } }
/** * Check is an Object is not an unitialized OCM proxy * @see OcmProxy.isInitialized() * * @param object * the Object to check * @return true if the object is not an OCM proxy or if it has already been * initialized */ public static boolean isInitialized(Object object) { if (!isProxy(object)) { return true; } else { return ((OcmProxy) object).isInitialized(); } }