Class MapBinder
- java.lang.Object
-
- org.hibernate.boot.model.internal.CollectionBinder
-
- org.hibernate.boot.model.internal.MapBinder
-
public class MapBinder extends CollectionBinder
-
-
Field Summary
-
Fields inherited from class org.hibernate.boot.model.internal.CollectionBinder
collection, foreignJoinColumns, hasMapKeyProperty, indexColumn, inheritanceStatePerClass, inverseJoinColumns, isEmbedded, localGenerators, mapKeyColumns, mapKeyManyToManyColumns, mapKeyPropertyName, notFoundAction, onDeleteAction, property, propertyHolder, propertyName
-
-
Constructor Summary
Constructors Constructor Description MapBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, boolean sorted, MetadataBuildingContext buildingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection
createCollection(PersistentClass owner)
boolean
isMap()
protected boolean
mappingDefinedAttributeOverrideOnElement(org.hibernate.annotations.common.reflection.XProperty property)
-
Methods inherited from class org.hibernate.boot.model.internal.CollectionBinder
adjustUserSuppliedValueCollectionOrderingFragment, bind, bindCollection, bindManyToManyInverseForeignKey, bindOneToManySecondPass, bindStarToManySecondPass, getBuildingContext, getCollection, getCollectionBinder, getCustomTypeBeanResolver, getNotFoundAction, isHibernateExtensionMapping, resolveCustomType, setAccessType, setCache, setCascadeStrategy, setComparatorSort, setDeclaringClass, setElementColumns, setElementType, setEmbedded, setExplicitAssociationTable, setFkJoinColumns, setIndexColumn, setInheritanceStatePerClass, setInsertable, setInverseJoinColumns, setIsHibernateExtensionMapping, setJoinColumns, setJpaOrderBy, setLocalGenerators, setMapKey, setMapKeyColumns, setMapKeyManyToManyColumns, setMappedBy, setNaturalSort, setNotFoundAction, setOnDeleteActionAction, setOneToMany, setProperty, setPropertyHolder, setPropertyName, setQueryCacheLayout, setSqlOrder, setSqlOrderBy, setTableBinder, setTargetEntity, setUpdatable
-
-
-
-
Constructor Detail
-
MapBinder
public MapBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, boolean sorted, MetadataBuildingContext buildingContext)
-
-
Method Detail
-
isMap
public boolean isMap()
- Overrides:
isMap
in classCollectionBinder
-
createCollection
protected Collection createCollection(PersistentClass owner)
- Specified by:
createCollection
in classCollectionBinder
-
mappingDefinedAttributeOverrideOnElement
protected boolean mappingDefinedAttributeOverrideOnElement(org.hibernate.annotations.common.reflection.XProperty property)
- Overrides:
mappingDefinedAttributeOverrideOnElement
in classCollectionBinder
-
-