public abstract class AbstractCollectionInitializor<T> extends Object implements Initializor<T>
Modifier and Type | Field and Description |
---|---|
protected EntityInstantiator |
entityInstantiator |
protected Number |
revision |
Constructor and Description |
---|
AbstractCollectionInitializor(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
RelationQueryGenerator queryGenerator,
Object primaryKey,
Number revision) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
addToCollection(T collection,
Object collectionRow) |
T |
initialize() |
protected abstract T |
initializeCollection(int size) |
protected final Number revision
protected final EntityInstantiator entityInstantiator
public AbstractCollectionInitializor(AuditConfiguration verCfg, AuditReaderImplementor versionsReader, RelationQueryGenerator queryGenerator, Object primaryKey, Number revision)
protected abstract T initializeCollection(int size)
public T initialize()
initialize
in interface Initializor<T>
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.