Top Description Methods
org.eclipse.persistence.sessions.changesets

public Interface EISCollectionChangeRecord

extends ChangeRecord
Known Direct Implementers
org.eclipse.persistence.eis.EISCollectionChangeRecord
Imports
java.util.List, org.eclipse.persistence.internal.sessions.ObjectChangeSet

Purpose: To provide API into the EISCollectionChangeSet.

Description: Capture the changes for an unordered collection as collections of adds and removes.

Method Summary

Modifier and TypeMethod and Description
public List<ObjectChangeSet>
getAdds()

ADVANCED: Return the objects added to the collection.

public List<E>
getChangedMapKeys()

ADVANCED: Return the objets whose Map keys have changed.

public List<ObjectChangeSet>
getRemoves()

ADVANCED: Return the removed objects.

public boolean
hasChanges()

ADVANCED: Return whether any changes have been recorded with the change record.

Inherited from org.eclipse.persistence.sessions.changesets.ChangeRecord:
getAttributegetOldValuegetOwner

Method Detail

getAddsback to summary
public List<ObjectChangeSet> getAdds()

ADVANCED: Return the objects added to the collection. The contents of this collection is determined by the mapping that populated it

getChangedMapKeysback to summary
public List<E> getChangedMapKeys()

ADVANCED: Return the objets whose Map keys have changed. The contents of this collection is determined by the mapping that populated it

getRemovesback to summary
public List<ObjectChangeSet> getRemoves()

ADVANCED: Return the removed objects. The contents of this collection is determined by the mapping that populated it

hasChangesback to summary
public boolean hasChanges()

ADVANCED: Return whether any changes have been recorded with the change record.