|
SolarMetric Kodo JDO 3.1.6 generated on August 25 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--kodo.util.ProxyManagerImpl
Default implementation of the ProxyManager interface.
| Constructor Summary | |
ProxyManagerImpl()
|
|
| Method Summary | |
Object |
copyArray(Object orig)
Return a new array of the same component type as the given array and containing the same elements. |
Collection |
copyCollection(Collection orig)
Return a new collection of the same type as the given one with a copy of all contained elements. |
Object |
copyCustom(Object orig)
Return a copy of the given object with the same information. |
Date |
copyDate(Date orig)
Return a copy of the given date with the same information. |
Map |
copyMap(Map orig)
Return a new map of the same type as the given one with a copy of all contained key/value pairs. |
boolean |
getAssertAllowedType()
Whether to perform runtime checks to ensure that all elements added to collection and map proxies are the proper element/key/value type as defined by the JDO metadata. |
boolean |
getTrackChanges()
Whether proxies produced by this factory will use ChangeTrackers
to try to cut down on data store operations at the cost of some extra
bookkeeping overhead. |
ProxyCollection |
newCollectionProxy(Class type,
Class elementType,
Comparator compare)
Return a proxy for the given collection type. |
Proxy |
newCustomProxy(Class type)
|
Proxy |
newCustomProxy(Object obj)
Return a proxy for the given object, or null if this manager cannot proxy the object. |
ProxyDate |
newDateProxy()
Return a new date proxy. |
ProxyMap |
newMapProxy(Class type,
Class keyType,
Class valueType,
Comparator compare)
Return a proxy for the given map type. |
void |
setAssertAllowedType(boolean assertType)
Whether to perform runtime checks to ensure that all elements added to collection and map proxies are the proper element/key/value type as defined by the JDO metadata. |
void |
setTrackChanges(boolean track)
Whether proxies produced by this factory will use ChangeTrackers
to try to cut down on data store operations at the cost of some extra
bookkeeping overhead. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProxyManagerImpl()
| Method Detail |
public boolean getTrackChanges()
ChangeTrackers
to try to cut down on data store operations at the cost of some extra
bookkeeping overhead. Defaults to true.public void setTrackChanges(boolean track)
ChangeTrackers
to try to cut down on data store operations at the cost of some extra
bookkeeping overhead. Defaults to true.public boolean getAssertAllowedType()
public void setAssertAllowedType(boolean assertType)
public Date copyDate(Date orig)
ProxyManagercopyDate in interface ProxyManagerpublic Collection copyCollection(Collection orig)
ProxyManagercopyCollection in interface ProxyManagerpublic Map copyMap(Map orig)
ProxyManagercopyMap in interface ProxyManagerpublic Object copyArray(Object orig)
ProxyManagercopyArray in interface ProxyManagerpublic Object copyCustom(Object orig)
ProxyManagercopyCustom in interface ProxyManagerpublic ProxyDate newDateProxy()
ProxyManagernewDateProxy in interface ProxyManager
public ProxyCollection newCollectionProxy(Class type,
Class elementType,
Comparator compare)
ProxyManagernewCollectionProxy in interface ProxyManager
public ProxyMap newMapProxy(Class type,
Class keyType,
Class valueType,
Comparator compare)
ProxyManagernewMapProxy in interface ProxyManagerpublic Proxy newCustomProxy(Class type)
public Proxy newCustomProxy(Object obj)
ProxyManagernewCustomProxy in interface ProxyManager
|
SolarMetric Kodo JDO 3.1.6 generated on August 25 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||