Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


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
 java.util.Vector getAddObjectList()
          ADVANCED: This method returns the collection of ChangeSets that were added to the collection.
 java.util.Vector getRemoveObjectList()
          ADVANCED: This method returns the collection of ChangeSets that were removed from the collection.
 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

public java.util.Vector getAddObjectList()
ADVANCED: This method returns the collection of ChangeSets that were added to the collection.
Returns:
java.util.Vector

getRemoveObjectList

public java.util.Vector getRemoveObjectList()
ADVANCED: This method returns the collection of ChangeSets that were removed from the collection.
Returns:
java.util.Vector

hasChanges

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

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.