|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.internal.sessions.ChangeRecord org.eclipse.persistence.internal.sessions.DeferrableChangeRecord org.eclipse.persistence.internal.sessions.CollectionChangeRecord org.eclipse.persistence.eis.EISCollectionChangeRecord
public class EISCollectionChangeRecord
INTERNAL: Capture the changes for an unordered collection as collections of adds and removes.
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.internal.sessions.CollectionChangeRecord |
---|
addObjectList, addOverFlow, orderedAddObjectIndices, orderedAddObjects, orderedChangeObjectList, orderedRemoveObjectIndices, orderedRemoveObjects, orderHasBeenRepaired, removeObjectList |
Fields inherited from class org.eclipse.persistence.internal.sessions.DeferrableChangeRecord |
---|
isDeferred, latestCollection, originalCollection |
Fields inherited from class org.eclipse.persistence.internal.sessions.ChangeRecord |
---|
attribute, mapping, owner |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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.Vector |
getAdds()
ADVANCED: Return the added stuff. |
java.util.Vector |
getChangedMapKeys()
ADVANCED: Return the stuff whose Map keys have changed. |
java.util.Vector |
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. |
Methods inherited from class org.eclipse.persistence.internal.sessions.CollectionChangeRecord |
---|
addAdditionChange, addOrderedAdditionChange, addOrderedRemoveChange, addRemoveChange, getAddObjectList, getAddOverFlow, getCurrentIndexesOfOriginalObjects, getOrderedAddObjectIndex, getOrderedAddObjectIndices, getOrderedAddObjects, getOrderedChangeObjectList, getOrderedRemoveObject, getOrderedRemoveObjectIndices, getOrderedRemoveObjects, getRemoveObjectList, mergeRecord, orderHasBeenRepaired, recreateOriginalCollection, setAddObjectList, setOrderedAddObjectIndices, setOrderedAddObjects, setOrderedChangeObjectList, setOrderedRemoveObjects, setOrderHasBeenRepaired, setRemoveObjectList, updateReferences |
Methods inherited from class org.eclipse.persistence.internal.sessions.DeferrableChangeRecord |
---|
getLatestCollection, getOriginalCollection, isDeferred, setIsDeferred, setLatestCollection, setOriginalCollection |
Methods inherited from class org.eclipse.persistence.internal.sessions.ChangeRecord |
---|
getAttribute, getMapping, getOwner, prepareForSynchronization, setAttribute, setMapping, setOwner, toString, updateChangeRecordWithNewValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.persistence.sessions.changesets.ChangeRecord |
---|
getAttribute, getOwner |
Constructor Detail |
---|
public EISCollectionChangeRecord(org.eclipse.persistence.internal.sessions.ObjectChangeSet owner, java.lang.String attributeName, DatabaseMapping mapping)
Method Detail |
---|
public void addAddedChangeSet(java.lang.Object changeSet)
public void addChangedMapKeyChangeSet(java.lang.Object changeSet)
public void addRemovedChangeSet(java.lang.Object changeSet)
public java.util.Vector getAdds()
getAdds
in interface EISCollectionChangeRecord
public java.util.Vector getChangedMapKeys()
getChangedMapKeys
in interface EISCollectionChangeRecord
public java.util.Vector 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)
|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |