Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.changesets
Interface CollectionChangeRecord

All Superinterfaces:
ChangeRecord

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 seperate list of objects added to a collection


Method Summary
 oracle.toplink.internal.helper.IdentityHashtable getAddObjectList()
          ADVANCED: This method returns the IdentityHashtable that contains the added values to the collection and their corresponding ChangeSets.
 oracle.toplink.internal.helper.IdentityHashtable getRemoveObjectList()
          ADVANCED: This method returns the IdentityHashtable 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 oracle.toplink.changesets.ChangeRecord
getAttribute, getOwner
 

Method Detail

getAddObjectList

oracle.toplink.internal.helper.IdentityHashtable getAddObjectList()
ADVANCED: This method returns the IdentityHashtable that contains the added values to the collection and their corresponding ChangeSets.

Returns:
java.util.Vector

getRemoveObjectList

oracle.toplink.internal.helper.IdentityHashtable getRemoveObjectList()
ADVANCED: This method returns the IdentityHashtable 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

Copyright © 1998, 2010, Oracle. All Rights Reserved.