oracle.toplink.changesets
Interface SDKCollectionChangeRecord

All Superinterfaces:
ChangeRecord
All Known Implementing Classes:
SDKCollectionChangeRecord

public interface SDKCollectionChangeRecord
extends ChangeRecord

Purpose: To provide API into the SDKCollectionChangeSet.

Description: Capture the changes for an unordered collection as collections of adds and removes.

See Also:
SDKAggregateCollectionMapping, SDKObjectCollectionMapping, SDKDirectCollectionMapping

Method Summary
TypeMethod
 java.util.Vector getAdds()
          ADVANCED: Return the objects added to the collection.
 java.util.Vector getChangedMapKeys()
           ADVANCED: Return the objets whose Map keys have changed.
 java.util.Vector getRemoves()
          ADVANCED: Return the removed objects.
 boolean hasChanges()
          ADVANCED: Return whether any changes have been recorded with the change record.
 
Methods inherited from interface oracle.toplink.changesets.ChangeRecord
getAttribute, getOwner
 

Method Detail

getAdds

public java.util.Vector getAdds()
ADVANCED: Return the objects added to the collection. The contents of this collection is determined by the mapping that populated it:

getChangedMapKeys

public java.util.Vector getChangedMapKeys()

ADVANCED: Return the objets whose Map keys have changed. The contents of this collection is determined by the mapping that populated it:


getRemoves

public java.util.Vector getRemoves()
ADVANCED: Return the removed objects. The contents of this collection is determined by the mapping that populated it:

hasChanges

public boolean hasChanges()
ADVANCED: Return whether any changes have been recorded with the change record.