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

B15903-01


oracle.toplink.changesets
Interface SDKCollectionChangeRecord

All Superinterfaces:
ChangeRecord

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
 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.

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