org.hibernate.envers.entities.mapper.relation.lazy.initializor
Class AbstractCollectionInitializor<T>
java.lang.Object
org.hibernate.envers.entities.mapper.relation.lazy.initializor.AbstractCollectionInitializor<T>
- All Implemented Interfaces:
- Initializor<T>
- Direct Known Subclasses:
- ArrayCollectionInitializor, BasicCollectionInitializor, ListCollectionInitializor, MapCollectionInitializor
public abstract class AbstractCollectionInitializor<T>
- extends Object
- implements Initializor<T>
Initializes a persistent collection.
- Author:
- Adam Warski (adam at warski dot org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
revision
protected final Number revision
entityInstantiator
protected final EntityInstantiator entityInstantiator
AbstractCollectionInitializor
public AbstractCollectionInitializor(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
RelationQueryGenerator queryGenerator,
Object primaryKey,
Number revision)
initializeCollection
protected abstract T initializeCollection(int size)
addToCollection
protected abstract void addToCollection(T collection,
Object collectionRow)
initialize
public T initialize()
- Specified by:
initialize
in interface Initializor<T>
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.