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
Type | Method |
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 |
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