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

public Interface CollectionChangeRecord

extends ChangeRecord
Known Direct Implementers
org.eclipse.persistence.internal.sessions.CollectionChangeRecord
Imports
java.util.*

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

Modifier and TypeMethod and Description
public Map<K, V>

Returns:

java.util.Vector
getAddObjectList
()

ADVANCED: This method returns the Map that contains the added values to the collection and their corresponding ChangeSets.

public Map<K, V>

Returns:

java.util.Vector
getRemoveObjectList
()

ADVANCED: This method returns the Map that contains the removed values from the collection and their corresponding ChangeSets.

public boolean

Returns:

boolean
hasChanges
()

ADVANCED: This method returns true if the change set has changes

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

Method Detail

getAddObjectListback to summary
public Map<K, V> getAddObjectList()

ADVANCED: This method returns the Map that contains the added values to the collection and their corresponding ChangeSets.

Returns:Map<K, V>

java.util.Vector

getRemoveObjectListback to summary
public Map<K, V> getRemoveObjectList()

ADVANCED: This method returns the Map that contains the removed values from the collection and their corresponding ChangeSets.

Returns:Map<K, V>

java.util.Vector

hasChangesback to summary
public boolean hasChanges()

ADVANCED: This method returns true if the change set has changes

Returns:boolean

boolean