public class OrderedDirectCollectionChangeRecord extends OrderedCollectionChangeRecord
Purpose: This class holds the record of the changes made to a collection attribute of an object.
Description: Collections must be compared to each other and added and removed objects must be recorded seperately.
addIndexes, addObjectList, startIndexOfRemoveattribute, mapping, owner| Constructor and Description |
|---|
OrderedDirectCollectionChangeRecord(ObjectChangeSet owner)
INTERNAL:
This constructor returns a changeRecord representing the DirectCollection mapping
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionChange(java.util.Hashtable additions,
java.util.Vector indexes,
UnitOfWorkChangeSet changes,
AbstractSession session)
INTERNAL:
This method takes a hastable of primitive objects and adds them to the add list.
|
getAddIndexes, getAddObjectList, getStartRemoveIndex, mergeRecord, setStartRemoveIndex, updateReferencesgetAttribute, getMapping, getOwner, prepareForSynchronization, setAttribute, setMapping, setOwner, toString, updateChangeRecordWithNewValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttribute, getOwnerpublic OrderedDirectCollectionChangeRecord(ObjectChangeSet owner)
owner - prototype.changeset.ObjectChangeSet that ObjectChangeSet that uses this recordpublic void addAdditionChange(java.util.Hashtable additions,
java.util.Vector indexes,
UnitOfWorkChangeSet changes,
AbstractSession session)
addAdditionChange in class OrderedCollectionChangeRecord