EclipseLink 1.2.0, build 'v20091016-r5565' API Reference

org.eclipse.persistence.sessions.changesets
Interface CollectionChangeRecord

All Superinterfaces:
ChangeRecord
All Known Implementing Classes:
org.eclipse.persistence.internal.sessions.CollectionChangeRecord, EISCollectionChangeRecord, EISOrderedCollectionChangeRecord

public interface CollectionChangeRecord
extends ChangeRecord

Purpose: This interface defines the API for the changeRecord that maintains the changes made to a collection attribute of an object.

Description: The CollectionChangeRecord stores a list of objects removed from the collection and a separate list of objects added to a collection


Method Summary
 java.util.Map getAddObjectList()
          ADVANCED: This method returns the Map that contains the added values to the collection and their corresponding ChangeSets.
 java.util.Map getRemoveObjectList()
          ADVANCED: This method returns the Map that contains the removed values from the collection and their corresponding ChangeSets.
 boolean hasChanges()
          ADVANCED: This method returns true if the change set has changes
 
Methods inherited from interface org.eclipse.persistence.sessions.changesets.ChangeRecord
getAttribute, getOwner
 

Method Detail

getAddObjectList

java.util.Map getAddObjectList()
ADVANCED: This method returns the Map that contains the added values to the collection and their corresponding ChangeSets.

Returns:
java.util.Vector

getRemoveObjectList

java.util.Map getRemoveObjectList()
ADVANCED: This method returns the Map that contains the removed values from the collection and their corresponding ChangeSets.

Returns:
java.util.Vector

hasChanges

boolean hasChanges()
ADVANCED: This method returns true if the change set has changes

Returns:
boolean

EclipseLink 1.2.0, build 'v20091016-r5565' API Reference