Package org.apache.openjpa.util
Class DelayedCollectionChangeTrackerImpl
- java.lang.Object
-
- org.apache.openjpa.util.AbstractChangeTracker
-
- org.apache.openjpa.util.CollectionChangeTrackerImpl
-
- org.apache.openjpa.util.DelayedCollectionChangeTrackerImpl
-
- All Implemented Interfaces:
ChangeTracker
,CollectionChangeTracker
public class DelayedCollectionChangeTrackerImpl extends CollectionChangeTrackerImpl
A collection change tracker used by delay loaded collections.
-
-
Field Summary
-
Fields inherited from class org.apache.openjpa.util.CollectionChangeTrackerImpl
_coll, _dups, _order
-
Fields inherited from class org.apache.openjpa.util.AbstractChangeTracker
add, change, rem
-
-
Constructor Summary
Constructors Constructor Description DelayedCollectionChangeTrackerImpl(java.util.Collection coll, boolean dups, boolean order, boolean autoOff)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(java.lang.Object elem)
Mark the given value as added.protected void
change(java.lang.Object elem)
Mark the given value as changed.protected void
remove(java.lang.Object elem)
Mark the given value as removed.-
Methods inherited from class org.apache.openjpa.util.CollectionChangeTrackerImpl
added, allowsDuplicates, initialSequence, isOrdered, removed
-
Methods inherited from class org.apache.openjpa.util.AbstractChangeTracker
changed, getAdded, getAutoOff, getChanged, getNextSequence, getRemoved, isTracking, newSet, reset, setAutoOff, setNextSequence, startTracking, stopTracking
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.openjpa.util.ChangeTracker
getAdded, getChanged, getNextSequence, getRemoved, isTracking, setNextSequence, startTracking, stopTracking
-
-
-
-
Method Detail
-
add
protected void add(java.lang.Object elem)
Description copied from class:AbstractChangeTracker
Mark the given value as added.- Overrides:
add
in classCollectionChangeTrackerImpl
-
remove
protected void remove(java.lang.Object elem)
Description copied from class:AbstractChangeTracker
Mark the given value as removed.- Overrides:
remove
in classCollectionChangeTrackerImpl
-
change
protected void change(java.lang.Object elem)
Description copied from class:AbstractChangeTracker
Mark the given value as changed.- Overrides:
change
in classCollectionChangeTrackerImpl
-
-