Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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