INTERNAL:
This method will be used to merge one record into another
this.setChangedValues(((AggregateCollectionChangeRecord)mergeFromRecord).getChangedValues());
//an aggregate collection changerecord contains a copy of the entire collection, not just the changes
//so there in no need to merge it, just replace it.
for (int index = 0; index < this.getChangedValues().size(); ++index) {
((ObjectChangeSet)this.getChangedValues().get(index)).updateReferences(mergeToChangeSet, mergeFromChangeSet);
;
}