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, startIndexOfRemove
attribute, 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(Hashtable additions,
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, updateReferences
getAttribute, getMapping, getOwner, prepareForSynchronization, setAttribute, setMapping, setOwner, toString, updateChangeRecordWithNewValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttribute, getOwner
public OrderedDirectCollectionChangeRecord(ObjectChangeSet owner)
owner
- prototype.changeset.ObjectChangeSet that ObjectChangeSet that uses this recordpublic void addAdditionChange(Hashtable additions, Vector indexes, UnitOfWorkChangeSet changes, AbstractSession session)
addAdditionChange
in class OrderedCollectionChangeRecord
Copyright © 2024. All rights reserved.