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