public class MapBinder extends CollectionBinder
cascadeDeleteEnabled, collection, indexColumn, inheritanceStatePerClass, localGenerators, mapKeyPropertyName, propertyName
Constructor and Description |
---|
MapBinder(boolean sorted) |
Modifier and Type | Method and Description |
---|---|
protected Collection |
createCollection(PersistentClass persistentClass) |
protected Value |
createFormulatedValue(Value value,
Collection collection,
String targetPropertyName,
PersistentClass associatedClass,
PersistentClass targetPropertyPersistentClass,
MetadataBuildingContext buildingContext) |
SecondPass |
getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
Ejb3JoinColumn[] keyColumns,
Ejb3JoinColumn[] inverseColumns,
Ejb3Column[] elementColumns,
Ejb3Column[] mapKeyColumns,
Ejb3JoinColumn[] mapKeyManyToManyColumns,
boolean isEmbedded,
XProperty property,
XClass collType,
boolean ignoreNotFound,
boolean unique,
TableBinder assocTableBinder,
MetadataBuildingContext buildingContext) |
boolean |
isMap() |
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
public boolean isMap()
isMap
in class CollectionBinder
protected Collection createCollection(PersistentClass persistentClass)
createCollection
in class CollectionBinder
public SecondPass getSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, Ejb3JoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, XProperty property, XClass collType, boolean ignoreNotFound, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)
getSecondPass
in class CollectionBinder
protected Value createFormulatedValue(Value value, Collection collection, String targetPropertyName, PersistentClass associatedClass, PersistentClass targetPropertyPersistentClass, MetadataBuildingContext buildingContext)
Copyright © 2019 JBoss by Red Hat. All rights reserved.