org.hibernate.envers.entities.mapper.relation.lazy.initializor
Class ListCollectionInitializor

java.lang.Object
  extended by org.hibernate.envers.entities.mapper.relation.lazy.initializor.AbstractCollectionInitializor<List>
      extended by org.hibernate.envers.entities.mapper.relation.lazy.initializor.ListCollectionInitializor
All Implemented Interfaces:
Initializor<List>

public class ListCollectionInitializor
extends AbstractCollectionInitializor<List>

Initializes a map.


Field Summary
 
Fields inherited from class org.hibernate.envers.entities.mapper.relation.lazy.initializor.AbstractCollectionInitializor
entityInstantiator, removed, revision
 
Constructor Summary
ListCollectionInitializor(AuditConfiguration verCfg, AuditReaderImplementor versionsReader, RelationQueryGenerator queryGenerator, Object primaryKey, Number revision, boolean removed, MiddleComponentData elementComponentData, MiddleComponentData indexComponentData)
           
 
Method Summary
protected  void addToCollection(List collection, Object collectionRow)
           
protected  List initializeCollection(int size)
           
 
Methods inherited from class org.hibernate.envers.entities.mapper.relation.lazy.initializor.AbstractCollectionInitializor
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListCollectionInitializor

public ListCollectionInitializor(AuditConfiguration verCfg,
                                 AuditReaderImplementor versionsReader,
                                 RelationQueryGenerator queryGenerator,
                                 Object primaryKey,
                                 Number revision,
                                 boolean removed,
                                 MiddleComponentData elementComponentData,
                                 MiddleComponentData indexComponentData)
Method Detail

initializeCollection

protected List initializeCollection(int size)
Specified by:
initializeCollection in class AbstractCollectionInitializor<List>

addToCollection

protected void addToCollection(List collection,
                               Object collectionRow)
Specified by:
addToCollection in class AbstractCollectionInitializor<List>


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.