org.hibernate.cfg.annotations
Class MapBinder

java.lang.Object
  extended by org.hibernate.cfg.annotations.CollectionBinder
      extended by org.hibernate.cfg.annotations.MapBinder

public class MapBinder
extends CollectionBinder

Implementation to bind a Map

Author:
Emmanuel Bernard

Field Summary
 
Fields inherited from class org.hibernate.cfg.annotations.CollectionBinder
cascadeDeleteEnabled, collection, hqlOrderBy, indexColumn, mapKeyPropertyName, propertyName
 
Constructor Summary
MapBinder()
           
 
Method Summary
protected  org.hibernate.mapping.Collection createCollection(org.hibernate.mapping.PersistentClass persistentClass)
           
protected  org.hibernate.mapping.Value createFormulatedValue(org.hibernate.mapping.Value value, org.hibernate.mapping.Collection collection)
           
 org.hibernate.cfg.SecondPass getSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, boolean isEmbedded, XProperty property, String collType, org.hibernate.FetchMode fetchMode, boolean ignoreNotFound, boolean unique, TableBinder assocTableBinder, ExtendedMappings mappings)
           
 
Methods inherited from class org.hibernate.cfg.annotations.CollectionBinder
addFilter, bind, bindManytoManyInverseFk, bindManyToManySecondPass, bindOneToManySecondPass, bindStarToManySecondPass, getCollection, getCollectionBinder, setBatchSize, setCache, setCascadeDeleteEnabled, setCascadeStrategy, setCollectionType, setEjb3OrderBy, setElementColumns, setEmbedded, setExplicitAssociationTable, setFetchType, setFkJoinColumns, setIgnoreNotFound, setIndexColumn, setInsertable, setInverseJoinColumns, setJoinColumns, setMapKey, setMappedBy, setMappings, setOneToMany, setProperty, setPropertyAccessorName, setPropertyHolder, setPropertyName, setSort, setSqlOrderBy, setTableBinder, setTargetEntity, setUpdatable, setWhere
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapBinder

public MapBinder()
Method Detail

createCollection

protected org.hibernate.mapping.Collection createCollection(org.hibernate.mapping.PersistentClass persistentClass)
Specified by:
createCollection in class CollectionBinder

getSecondPass

public org.hibernate.cfg.SecondPass getSecondPass(Ejb3JoinColumn[] fkJoinColumns,
                                                  Ejb3JoinColumn[] keyColumns,
                                                  Ejb3JoinColumn[] inverseColumns,
                                                  Ejb3Column[] elementColumns,
                                                  boolean isEmbedded,
                                                  XProperty property,
                                                  String collType,
                                                  org.hibernate.FetchMode fetchMode,
                                                  boolean ignoreNotFound,
                                                  boolean unique,
                                                  TableBinder assocTableBinder,
                                                  ExtendedMappings mappings)
Overrides:
getSecondPass in class CollectionBinder

createFormulatedValue

protected org.hibernate.mapping.Value createFormulatedValue(org.hibernate.mapping.Value value,
                                                            org.hibernate.mapping.Collection collection)