Class MapCollectionInitializor<T extends Map>
- java.lang.Object
-
- org.hibernate.envers.internal.entities.mapper.relation.lazy.initializor.AbstractCollectionInitializor<T>
-
- org.hibernate.envers.internal.entities.mapper.relation.lazy.initializor.MapCollectionInitializor<T>
-
- All Implemented Interfaces:
Initializor<T>
- Direct Known Subclasses:
SortedMapCollectionInitializor
public class MapCollectionInitializor<T extends Map> extends AbstractCollectionInitializor<T>
Initializes a map.
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<? extends T>
collectionClass
-
Fields inherited from class org.hibernate.envers.internal.entities.mapper.relation.lazy.initializor.AbstractCollectionInitializor
entityInstantiator, removed, revision
-
-
Constructor Summary
Constructors Constructor Description MapCollectionInitializor(EnversService enversService, AuditReaderImplementor versionsReader, RelationQueryGenerator queryGenerator, Object primaryKey, Number revision, boolean removed, Class<? extends T> collectionClass, MiddleComponentData elementComponentData, MiddleComponentData indexComponentData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addToCollection(T collection, Object collectionRow)
protected T
initializeCollection(int size)
-
Methods inherited from class org.hibernate.envers.internal.entities.mapper.relation.lazy.initializor.AbstractCollectionInitializor
doPrivileged, initialize, newObjectInstance
-
-
-
-
Constructor Detail
-
MapCollectionInitializor
public MapCollectionInitializor(EnversService enversService, AuditReaderImplementor versionsReader, RelationQueryGenerator queryGenerator, Object primaryKey, Number revision, boolean removed, Class<? extends T> collectionClass, MiddleComponentData elementComponentData, MiddleComponentData indexComponentData)
-
-
Method Detail
-
initializeCollection
protected T initializeCollection(int size)
- Specified by:
initializeCollection
in classAbstractCollectionInitializor<T extends Map>
-
addToCollection
protected void addToCollection(T collection, Object collectionRow)
- Specified by:
addToCollection
in classAbstractCollectionInitializor<T extends Map>
-
-