|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--com.solarmetric.rd.kodo.util.ProxyHashtable
|
+--com.solarmetric.rd.kodo.util.ProxyHashtableCT
Extension of the ProxyHashtable to implement
ChangeTracker. The Proxytable actually does all the logic
to track changes itself, but keeps change tracking turned off by default.
This class turns it on.
| Constructor Summary | |
ProxyHashtableCT()
Template constructor. |
|
ProxyHashtableCT(java.lang.Class keyType,
java.lang.Class valueType)
Constructor. |
|
ProxyHashtableCT(java.util.Map m,
java.lang.Class keyType,
java.lang.Class valueType)
Constructor. |
|
| Method Summary | |
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. |
void |
setOwner(java.lang.Object pc,
java.lang.String fieldName)
Set the owning JDO instance of the proxy and the name of the field it is assigned to. |
| Methods inherited from class com.solarmetric.rd.kodo.util.ProxyHashtable |
clear, entrySet, getAdded, getChangeManager, getComparator, getCopy, getOwner, getOwnerFieldName, getRemoved, isOwner, keySet, put, putAll, remove, setChangeManager, values, writeReplace |
| Methods inherited from class java.util.Hashtable |
clone, contains, containsKey, containsValue, elements, equals, get, hashCode, isEmpty, keys, rehash, size, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.solarmetric.rd.kodo.util.ChangeTracker |
getAdded, getRemoved |
| Methods inherited from interface com.solarmetric.rd.kodo.util.Proxy |
getOwner, getOwnerFieldName, isOwner |
| Methods inherited from interface java.util.Map |
containsKey, containsValue, equals, get, hashCode, isEmpty, size |
| Constructor Detail |
public ProxyHashtableCT()
public ProxyHashtableCT(java.util.Map m,
java.lang.Class keyType,
java.lang.Class valueType)
ProxyHashtable
public ProxyHashtableCT(java.lang.Class keyType,
java.lang.Class valueType)
ProxyHashtable| Method Detail |
public com.solarmetric.rd.kodo.util.ProxyMap newInstance(java.lang.Class keyType,
java.lang.Class valueType,
java.util.Map contents,
java.util.Comparator compare)
ProxyMapProxyManager 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.
newInstance in interface ProxyMapnewInstance in class ProxyHashtable
public void setOwner(java.lang.Object pc,
java.lang.String fieldName)
Proxy
setOwner in interface ProxysetOwner in class ProxyHashtable
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||