Class MapBinder
java.lang.Object
org.hibernate.boot.model.internal.CollectionBinder
org.hibernate.boot.model.internal.MapBinder
-
Field Summary
Fields inherited from class org.hibernate.boot.model.internal.CollectionBinder
collection, declaringClass, foreignJoinColumns, hasMapKeyProperty, indexColumn, inheritanceStatePerClass, inverseJoinColumns, isEmbedded, localGenerators, mapKeyColumns, mapKeyManyToManyColumns, mapKeyPropertyName, notFoundAction, onDeleteAction, property, propertyHolder, propertyName
-
Constructor Summary
ConstructorsConstructorDescriptionMapBinder
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, boolean sorted, MetadataBuildingContext buildingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection
createCollection
(PersistentClass owner) boolean
isMap()
protected boolean
mappingDefinedAttributeOverrideOnElement
(org.hibernate.models.spi.MemberDetails 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, setTableBinder, setTargetEntity, setTargetEntity, setTargetEntity, setUpdatable
-
Constructor Details
-
MapBinder
public MapBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, boolean sorted, MetadataBuildingContext buildingContext)
-
-
Method Details
-
isMap
public boolean isMap()- Overrides:
isMap
in classCollectionBinder
-
createCollection
- Specified by:
createCollection
in classCollectionBinder
-
mappingDefinedAttributeOverrideOnElement
protected boolean mappingDefinedAttributeOverrideOnElement(org.hibernate.models.spi.MemberDetails property) - Overrides:
mappingDefinedAttributeOverrideOnElement
in classCollectionBinder
-