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
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. |
Type | Method |
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 |
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.
getAdds
public java.util.Vector getAdds()
- ADVANCED:
Return the added stuff.
The contents of this collection is determined by the mapping that
populated it:
- SDKAggregateCollectionMapping will store ObjectChangeSets
- SDKDirectCollectionMapping will store the direct elements themselves
- SDKObjectCollectionMapping will store the foreign keys
- 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:
- SDKAggregateCollectionMapping will store ObjectChangeSets
- SDKDirectCollectionMapping will store the direct elements themselves
- SDKObjectCollectionMapping will store the foreign keys
- 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:
- SDKAggregateCollectionMapping will store ObjectChangeSets
- SDKDirectCollectionMapping will store the direct elements themselves
- SDKObjectCollectionMapping will store the foreign keys
- Specified by:
getRemoves
in interface SDKCollectionChangeRecord