SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

com.solarmetric.rd.kodo.util
Interface ChangeTracker

All Superinterfaces:
Proxy
All Known Implementing Classes:
ProxyHashMapCT, ProxyHashSetCT, ProxyHashtableCT, ProxyTreeMapCT, ProxyTreeSetCT

public interface ChangeTracker
extends Proxy

Proxy that tracks changes to its elements at a fine-grained level. Making a proxy implement this interface can result in more intelligent updating of collections and maps that have been modified.


Method Summary
 java.util.Collection getAdded()
          Return all the items that were added to this proxy.
 java.util.Collection getRemoved()
          Return all the items that were removed from this proxy.
 
Methods inherited from interface com.solarmetric.rd.kodo.util.Proxy
getOwner, getOwnerFieldName, isOwner, setOwner
 

Method Detail

getRemoved

public java.util.Collection getRemoved()
Return all the items that were removed from this proxy. This applies to removed values in collections, or removed keys in maps. Return an empty collection if nothing was removed.


getAdded

public java.util.Collection getAdded()
Return all the items that were added to this proxy. This applies to added values in collections, or added keys in maps. Return an empty collection if nothing was added.


SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool

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