org.hibernate.cfg.annotations
Class ListBinder

java.lang.Object
  extended by org.hibernate.cfg.annotations.CollectionBinder
      extended by org.hibernate.cfg.annotations.ListBinder
Direct Known Subclasses:
ArrayBinder

public class ListBinder
extends CollectionBinder

Bind a list

Author:
Matthew Inger, Emmanuel Bernard

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

Constructor Detail

ListBinder

public ListBinder()
Method Detail

createCollection

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

setSqlOrderBy

public void setSqlOrderBy(OrderBy orderByAnn)
Overrides:
setSqlOrderBy in class CollectionBinder

setSort

public void setSort(Sort sortAnn)
Overrides:
setSort in class CollectionBinder

getSecondPass

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