Package org.apache.openjpa.util
Interface CollectionChangeTracker
-
- All Superinterfaces:
ChangeTracker
- All Known Implementing Classes:
AbstractLRSProxyCollection
,CollectionChangeTrackerImpl
,DelayedCollectionChangeTrackerImpl
,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 callChangeTracker.stopTracking()
after applying the operation to the collection.- Author:
- Abe White
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
added(java.lang.Object elem)
Record that the given element was added.void
removed(java.lang.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
-
-