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

OrderedDirectCollectionChangeRecord

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

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

        super(owner);
    
Methods Summary
public voidaddAdditionChange(java.util.Hashtable additions, java.util.Vector indexes, oracle.toplink.essentials.internal.sessions.UnitOfWorkChangeSet changes, oracle.toplink.essentials.internal.sessions.AbstractSession session)
INTERNAL: This method takes a hastable of primitive objects and adds them to the add list.

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