/** * Used by proxy types to check if the given owners and field names * are equivalent. */ public static boolean isOwner(Proxy proxy, OpenJPAStateManager sm, int field) { return proxy.getOwner() == sm && proxy.getOwnerField() == field; }
/** * Used by proxy types to check if the given owners and field names * are equivalent. */ public static boolean isOwner(Proxy proxy, OpenJPAStateManager sm, int field) { return proxy.getOwner() == sm && proxy.getOwnerField() == field; }
/** * Used by proxy types to check if the given owners and field names * are equivalent. */ public static boolean isOwner(Proxy proxy, OpenJPAStateManager sm, int field) { return proxy.getOwner() == sm && proxy.getOwnerField() == field; }
/** * Used by proxy types to check if the given owners and field names * are equivalent. */ public static boolean isOwner(Proxy proxy, OpenJPAStateManager sm, int field) { return proxy.getOwner() == sm && proxy.getOwnerField() == field; }
/** * Used by proxy types to check if the given owners and field names * are equivalent. */ public static boolean isOwner(Proxy proxy, OpenJPAStateManager sm, int field) { return proxy.getOwner() == sm && proxy.getOwnerField() == field; }
/** * Used by proxy types to notify collection owner on element removal. */ public static void removed(Proxy proxy, Object removed, boolean key) { if (proxy.getOwner() != null && removed != null) proxy.getOwner().removed(proxy.getOwnerField(), removed, key); }
/** * Used by proxy types to notify collection owner on element removal. */ public static void removed(Proxy proxy, Object removed, boolean key) { if (proxy.getOwner() != null && removed != null) proxy.getOwner().removed(proxy.getOwnerField(), removed, key); }
/** * Used by proxy types to notify collection owner on element removal. */ public static void removed(Proxy proxy, Object removed, boolean key) { if (proxy.getOwner() != null && removed != null) proxy.getOwner().removed(proxy.getOwnerField(), removed, key); }
/** * Used by proxy types to notify collection owner on element removal. */ public static void removed(Proxy proxy, Object removed, boolean key) { if (proxy.getOwner() != null && removed != null) proxy.getOwner().removed(proxy.getOwnerField(), removed, key); }
/** * Used by proxy types to notify collection owner on element removal. */ public static void removed(Proxy proxy, Object removed, boolean key) { if (proxy.getOwner() != null && removed != null) proxy.getOwner().removed(proxy.getOwnerField(), removed, key); }
/** * Used by proxy types to dirty their owner. */ public static void dirty(Proxy proxy, boolean stopTracking) { if (proxy.getOwner() != null) proxy.getOwner().dirty(proxy.getOwnerField()); if (stopTracking && proxy.getChangeTracker() != null) proxy.getChangeTracker().stopTracking(); }
/** * Used by proxy types to dirty their owner. */ public static void dirty(Proxy proxy, boolean stopTracking) { if (proxy.getOwner() != null) proxy.getOwner().dirty(proxy.getOwnerField()); if (stopTracking && proxy.getChangeTracker() != null) proxy.getChangeTracker().stopTracking(); }
/** * Used by proxy types to dirty their owner. */ public static void dirty(Proxy proxy, boolean stopTracking) { if (proxy.getOwner() != null) proxy.getOwner().dirty(proxy.getOwnerField()); if (stopTracking && proxy.getChangeTracker() != null) proxy.getChangeTracker().stopTracking(); }
/** * Used by proxy types to dirty their owner. */ public static void dirty(Proxy proxy, boolean stopTracking) { if (proxy.getOwner() != null) proxy.getOwner().dirty(proxy.getOwnerField()); if (stopTracking && proxy.getChangeTracker() != null) proxy.getChangeTracker().stopTracking(); }
/** * Used by proxy types to dirty their owner. */ public static void dirty(Proxy proxy, boolean stopTracking) { if (proxy.getOwner() != null) proxy.getOwner().dirty(proxy.getOwnerField()); if (stopTracking && proxy.getChangeTracker() != null) proxy.getChangeTracker().stopTracking(); }