SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

com.solarmetric.kodo.util
Class Proxies

java.lang.Object
  |
  +--com.solarmetric.kodo.util.Proxies

public class Proxies
extends Object

Utility methods for managing proxies.


Constructor Summary
Proxies()
           
 
Method Summary
static void checkValue(Object value, Class allowed)
          Used by the proxy types in this package to check that an attempt to add a new key/value is legal.
static Object getArrayCopy(Object orig)
           
static Collection getCollectionCopy(Collection orig)
           
static ProxyCollection getCollectionProxy(Class type, Class elementType, Collection contents, Comparator compare, Object owner, String field)
           
static Date getDateCopy(Date orig)
           
static ProxyDate getDateProxy(Date date, Object owner, String field)
           
static Map getMapCopy(Map orig)
           
static ProxyMap getMapProxy(Class type, Class keyType, Class valueType, Map contents, Comparator compare, Object owner, String field)
           
static void makeDirty(Object pc, String fieldName)
          Used by proxy types to dirty their owner.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Proxies

public Proxies()
Method Detail

getDateCopy

public static Date getDateCopy(Date orig)
See Also:
ProxyManager.getDateCopy(java.util.Date, java.lang.Object, java.lang.String)

getCollectionCopy

public static Collection getCollectionCopy(Collection orig)
See Also:
ProxyManager.getCollectionCopy(java.util.Collection, java.lang.Object, java.lang.String)

getMapCopy

public static Map getMapCopy(Map orig)
See Also:
ProxyManager.getMapCopy(java.util.Map, java.lang.Object, java.lang.String)

getArrayCopy

public static Object getArrayCopy(Object orig)
See Also:
ProxyManager.getArrayCopy(java.lang.Object, java.lang.Object, java.lang.String)

getDateProxy

public static ProxyDate getDateProxy(Date date,
                                     Object owner,
                                     String field)
See Also:
ProxyManager.getDateProxy(java.util.Date, java.lang.Object, java.lang.String)

getCollectionProxy

public static ProxyCollection getCollectionProxy(Class type,
                                                 Class elementType,
                                                 Collection contents,
                                                 Comparator compare,
                                                 Object owner,
                                                 String field)
See Also:
ProxyManager.getCollectionProxy(java.lang.Class, java.lang.Class, java.util.Collection, java.util.Comparator, java.lang.Object, java.lang.String)

getMapProxy

public static ProxyMap getMapProxy(Class type,
                                   Class keyType,
                                   Class valueType,
                                   Map contents,
                                   Comparator compare,
                                   Object owner,
                                   String field)
See Also:
ProxyManager.getMapProxy(java.lang.Class, java.lang.Class, java.lang.Class, java.util.Map, java.util.Comparator, java.lang.Object, java.lang.String)

checkValue

public static void checkValue(Object value,
                              Class allowed)
Used by the proxy types in this package to check that an attempt to add a new key/value is legal.

makeDirty

public static void makeDirty(Object pc,
                             String fieldName)
Used by proxy types to dirty their owner.

SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.