类 MapBinder
- java.lang.Object
-
- org.hibernate.cfg.annotations.CollectionBinder
-
- org.hibernate.cfg.annotations.MapBinder
-
public class MapBinder extends CollectionBinder
Implementation to bind a Map- 作者:
- Emmanuel Bernard
-
-
字段概要
-
从类继承的字段 org.hibernate.cfg.annotations.CollectionBinder
cascadeDeleteEnabled, collection, indexColumn, inheritanceStatePerClass, localGenerators, mapKeyPropertyName, propertyName
-
-
构造器概要
构造器 构造器 说明 MapBinder(boolean sorted)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected CollectioncreateCollection(PersistentClass persistentClass)protected ValuecreateFormulatedValue(Value value, Collection collection, String targetPropertyName, PersistentClass associatedClass, PersistentClass targetPropertyPersistentClass, MetadataBuildingContext buildingContext)SecondPassgetSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, Ejb3JoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, org.hibernate.annotations.common.reflection.XClass collType, boolean ignoreNotFound, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)booleanisMap()-
从类继承的方法 org.hibernate.cfg.annotations.CollectionBinder
adjustUserSuppliedValueCollectionOrderingFragment, bind, bindManytoManyInverseFk, bindOneToManySecondPass, bindStarToManySecondPass, getBuildingContext, getCollection, getCollectionBinder, isHibernateExtensionMapping, setAccessType, setBatchSize, setBuildingContext, setCache, setCascadeDeleteEnabled, setCascadeStrategy, setCollectionType, setComparatorSort, setDeclaringClass, setElementColumns, setEmbedded, setExplicitAssociationTable, setFkJoinColumns, setIgnoreNotFound, setIndexColumn, setInheritanceStatePerClass, setInsertable, setInverseJoinColumns, setIsHibernateExtensionMapping, setJoinColumns, setJpaOrderBy, setLocalGenerators, setMapKey, setMapKeyColumns, setMapKeyManyToManyColumns, setMappedBy, setNaturalSort, setOneToMany, setProperty, setPropertyHolder, setPropertyName, setSort, setSqlOrderBy, setTableBinder, setTargetEntity, setUpdatable
-
-
-
-
方法详细资料
-
isMap
public boolean isMap()
- 覆盖:
isMap在类中CollectionBinder
-
createCollection
protected Collection createCollection(PersistentClass persistentClass)
- 指定者:
createCollection在类中CollectionBinder
-
getSecondPass
public SecondPass getSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, Ejb3JoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, org.hibernate.annotations.common.reflection.XClass collType, boolean ignoreNotFound, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)
- 覆盖:
getSecondPass在类中CollectionBinder
-
createFormulatedValue
protected Value createFormulatedValue(Value value, Collection collection, String targetPropertyName, PersistentClass associatedClass, PersistentClass targetPropertyPersistentClass, MetadataBuildingContext buildingContext)
-
-