public class EISCollectionChangeRecord extends org.eclipse.persistence.internal.sessions.CollectionChangeRecord implements EISCollectionChangeRecord
addObjectList, addOverFlow, orderedAddObjectIndices, orderedAddObjects, orderedChangeObjectList, orderedRemoveObjectIndices, orderedRemoveObjects, orderHasBeenRepaired, removeObjectList
Constructor and Description |
---|
EISCollectionChangeRecord(org.eclipse.persistence.internal.sessions.ObjectChangeSet owner,
java.lang.String attributeName,
DatabaseMapping mapping)
Construct a ChangeRecord that can be used to represent the changes to
an unordered collection.
|
Modifier and Type | Method and Description |
---|---|
void |
addAddedChangeSet(java.lang.Object changeSet)
Add an added change set.
|
void |
addChangedMapKeyChangeSet(java.lang.Object changeSet)
Add an changed key change set.
|
void |
addRemovedChangeSet(java.lang.Object changeSet)
Add an removed change set.
|
java.util.List |
getAdds()
ADVANCED:
Return the added stuff.
|
java.util.List |
getChangedMapKeys()
ADVANCED:
Return the stuff whose Map keys have changed.
|
java.util.List |
getRemoves()
ADVANCED:
Return the removed stuff.
|
boolean |
hasChanges()
Return whether any changes have been recorded with the change record.
|
void |
simpleAddChangeSet(java.lang.Object changeSet)
Add a change set after it has been applied.
|
void |
simpleRemoveChangeSet(java.lang.Object changeSet)
Remove a change set after it has been applied.
|
addAdditionChange, addOrderedAdditionChange, addOrderedRemoveChange, addRemoveChange, clearChanges, getAddObjectList, getAddOverFlow, getCurrentIndexesOfOriginalObjects, getOrderedAddObjectIndex, getOrderedAddObjectIndices, getOrderedAddObjects, getOrderedChangeObjectList, getOrderedRemoveObject, getOrderedRemoveObjectIndices, getOrderedRemoveObjects, getRemoveObjectList, internalRecreateOriginalCollection, mergeRecord, orderHasBeenRepaired, setAddObjectList, setOrderedAddObjectIndices, setOrderedAddObjects, setOrderedChangeObjectList, setOrderedRemoveObjects, setOrderHasBeenRepaired, setRemoveObjectList, updateReferences
getLatestCollection, getOldValue, getOldValue, getOriginalCollection, isDeferred, recreateOriginalCollection, setIsDeferred, setLatestCollection, setOriginalCollection
getAttribute, getMapping, getOwner, prepareForSynchronization, setAttribute, setMapping, setOwner, toString, updateChangeRecordWithNewValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttribute, getOldValue, getOwner
public EISCollectionChangeRecord(org.eclipse.persistence.internal.sessions.ObjectChangeSet owner, java.lang.String attributeName, DatabaseMapping mapping)
public void addAddedChangeSet(java.lang.Object changeSet)
public void addChangedMapKeyChangeSet(java.lang.Object changeSet)
public void addRemovedChangeSet(java.lang.Object changeSet)
public java.util.List getAdds()
getAdds
in interface EISCollectionChangeRecord
public java.util.List getChangedMapKeys()
getChangedMapKeys
in interface EISCollectionChangeRecord
public java.util.List getRemoves()
getRemoves
in interface EISCollectionChangeRecord
public boolean hasChanges()
hasChanges
in interface CollectionChangeRecord
hasChanges
in interface EISCollectionChangeRecord
hasChanges
in class org.eclipse.persistence.internal.sessions.CollectionChangeRecord
public void simpleAddChangeSet(java.lang.Object changeSet)
public void simpleRemoveChangeSet(java.lang.Object changeSet)