OrderedDirectCollectionChangeRecord.javaAPI DocGlassfish v2 API3016Tue May 22 16:54:44 BST 2007oracle.toplink.essentials.internal.sessions


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.

Fields Summary
Constructors Summary
public OrderedDirectCollectionChangeRecord(ObjectChangeSet owner)
INTERNAL: This constructor returns a changeRecord representing the DirectCollection mapping

owner prototype.changeset.ObjectChangeSet that ObjectChangeSet that uses this record

Methods Summary
public voidaddAdditionChange(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.

        this.addObjectList = additions;
        this.addIndexes = indexes;