public abstract class AbstractCollectionInitializor<T> extends Object implements Initializor<T>
Modifier and Type | Field and Description |
---|---|
protected EntityInstantiator |
entityInstantiator |
protected boolean |
removed |
protected Number |
revision |
Constructor and Description |
---|
AbstractCollectionInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
RelationQueryGenerator queryGenerator,
Object primaryKey,
Number revision,
boolean removed) |
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 boolean removed
protected final EntityInstantiator entityInstantiator
public AbstractCollectionInitializor(EnversService enversService, AuditReaderImplementor versionsReader, RelationQueryGenerator queryGenerator, Object primaryKey, Number revision, boolean removed)
protected abstract T initializeCollection(int size)
public T initialize()
initialize
in interface Initializor<T>
Copyright © 2019 JBoss by Red Hat. All rights reserved.