SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.util
Interface ProxyMap

All Superinterfaces:
java.util.Map, Proxy
All Known Implementing Classes:
ProxyHashMap, ProxyHashtable, ProxyProperties, ProxyTreeMap

public interface ProxyMap
extends Proxy, java.util.Map

Interface implemented by all proxies on Map types.


Method Summary
 java.util.Comparator getComparator()
          Return the comparator used in this map, or null if it is unordered or uses natural ordering.
 java.util.Map getCopy(java.util.Map orig)
          This method should return a copy of the given map; the copy should be of the same class as the superclass of this collection.
 com.solarmetric.rd.kodo.util.ProxyMap newInstance(java.lang.Class keyType, java.lang.Class valueType, java.util.Map contents, java.util.Comparator compare)
          This method should return a new proxy of the same concrete type as the implementing class.
 
Methods inherited from interface com.solarmetric.rd.kodo.util.Proxy
getOwner, getOwnerFieldName, isOwner, setOwner
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

newInstance

public com.solarmetric.rd.kodo.util.ProxyMap newInstance(java.lang.Class keyType,
                                                         java.lang.Class valueType,
                                                         java.util.Map contents,
                                                         java.util.Comparator compare)
This method should return a new proxy of the same concrete type as the implementing class. Used by the ProxyManager factories: one template instance of each type is created for the purpose of producing new instances via this method. Overcomes the performance penalties of reflection.


getCopy

public java.util.Map getCopy(java.util.Map orig)
This method should return a copy of the given map; the copy should be of the same class as the superclass of this collection.


getComparator

public java.util.Comparator getComparator()
Return the comparator used in this map, or null if it is unordered or uses natural ordering.


SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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