org.apache.openjpa.util
Interface CollectionChangeTracker

All Superinterfaces:
ChangeTracker
All Known Implementing Classes:
AbstractLRSProxyCollection, CollectionChangeTrackerImpl, LRSProxyCollection

public interface CollectionChangeTracker
extends ChangeTracker

Change tracker that can be used for collections. If the user calls any mutating methods on the collection that do not have an equivalent in this change tracker, then you must call ChangeTracker.stopTracking() after applying the operation to the collection.

Author:
Abe White

Method Summary
 void added(Object elem)
          Record that the given element was added.
 void removed(Object elem)
          Record that the given element was removed.
 
Methods inherited from interface org.apache.openjpa.util.ChangeTracker
getAdded, getChanged, getNextSequence, getRemoved, isTracking, setNextSequence, startTracking, stopTracking
 

Method Detail

added

void added(Object elem)
Record that the given element was added.


removed

void removed(Object elem)
Record that the given element was removed.



Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.