oracle.toplink.sdk
Class SDKCollectionChangeRecord

java.lang.Object
  |
  +--oracle.toplink.internal.sessions.ChangeRecord
        |
        +--oracle.toplink.sdk.SDKCollectionChangeRecord
All Implemented Interfaces:
ChangeRecord, SDKCollectionChangeRecord, java.io.Serializable

public class SDKCollectionChangeRecord
extends oracle.toplink.internal.sessions.ChangeRecord
implements SDKCollectionChangeRecord

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

Since:
TOPLink/Java 3.0
See Also:
SDKAggregateCollectionMapping, SDKObjectCollectionMapping, SDKDirectCollectionMapping, Serialized Form

Constructor Summary
SDKCollectionChangeRecord(oracle.toplink.internal.sessions.ObjectChangeSet owner, java.lang.String attributeName)
          Construct a ChangeRecord that can be used to represent the changes to an unordered collection.
 
Method Summary
TypeMethod
 java.util.Vector getAdds()
          ADVANCED: Return the added stuff.
 java.util.Vector getChangedMapKeys()
          ADVANCED: Return the stuff whose Map keys have changed.
 java.util.Vector getRemoves()
          ADVANCED: Return the removed stuff.
 
Methods inherited from class oracle.toplink.internal.sessions.ChangeRecord
getAttribute, getOwner, setAttribute, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.toplink.changesets.ChangeRecord
getAttribute, getOwner
 

Constructor Detail

SDKCollectionChangeRecord

public SDKCollectionChangeRecord(oracle.toplink.internal.sessions.ObjectChangeSet owner,
                                 java.lang.String attributeName)
Construct a ChangeRecord that can be used to represent the changes to an unordered collection.
Method Detail

getAdds

public java.util.Vector getAdds()
ADVANCED: Return the added stuff. The contents of this collection is determined by the mapping that populated it:
Specified by:
getAdds in interface SDKCollectionChangeRecord

getChangedMapKeys

public java.util.Vector getChangedMapKeys()
ADVANCED: Return the stuff whose Map keys have changed. The contents of this collection is determined by the mapping that populated it:
Specified by:
getChangedMapKeys in interface SDKCollectionChangeRecord

getRemoves

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