public class Proxies extends Object
Constructor and Description |
---|
Proxies() |
Modifier and Type | Method and Description |
---|---|
static void |
assertAllowedType(Object value,
Class allowed)
Used by proxy types to check that an attempt to add a new value is legal.
|
static void |
dirty(Proxy proxy,
boolean stopTracking)
Used by proxy types to dirty their owner.
|
static boolean |
isOwner(Proxy proxy,
OpenJPAStateManager sm,
int field)
Used by proxy types to check if the given owners and field names
are equivalent.
|
static void |
removed(Proxy proxy,
Object removed,
boolean key)
Used by proxy types to notify collection owner on element removal.
|
static Object |
writeReplace(Proxy proxy,
boolean detachable)
Used by proxy types to serialize non-proxy versions.
|
public static boolean isOwner(Proxy proxy, OpenJPAStateManager sm, int field)
public static void assertAllowedType(Object value, Class allowed)
public static void dirty(Proxy proxy, boolean stopTracking)
public static void removed(Proxy proxy, Object removed, boolean key)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.