Package org.hibernate.cfg.annotations
Class ListBinder
- java.lang.Object
-
- org.hibernate.cfg.annotations.CollectionBinder
-
- org.hibernate.cfg.annotations.ListBinder
-
- Direct Known Subclasses:
ArrayBinder
public class ListBinder extends CollectionBinder
Bind a list to the underlying Hibernate configuration
-
-
Field Summary
-
Fields inherited from class org.hibernate.cfg.annotations.CollectionBinder
cascadeDeleteEnabled, collection, indexColumn, inheritanceStatePerClass, localGenerators, mapKeyPropertyName, propertyName
-
-
Constructor Summary
Constructors Constructor Description ListBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CollectioncreateCollection(PersistentClass persistentClass)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, NotFoundAction notFoundAction, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)voidsetSort(Sort sortAnn)voidsetSqlOrderBy(OrderBy orderByAnn)-
Methods inherited from class org.hibernate.cfg.annotations.CollectionBinder
adjustUserSuppliedValueCollectionOrderingFragment, bind, bindManytoManyInverseFk, bindOneToManySecondPass, bindStarToManySecondPass, getBuildingContext, getCollection, getCollectionBinder, getNotFoundAction, isHibernateExtensionMapping, isMap, 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, setNotFoundAction, setOneToMany, setProperty, setPropertyHolder, setPropertyName, setTableBinder, setTargetEntity, setUpdatable
-
-
-
-
Method Detail
-
createCollection
protected Collection createCollection(PersistentClass persistentClass)
- Specified by:
createCollectionin classCollectionBinder
-
setSqlOrderBy
public void setSqlOrderBy(OrderBy orderByAnn)
- Overrides:
setSqlOrderByin classCollectionBinder
-
setSort
public void setSort(Sort sortAnn)
- Overrides:
setSortin classCollectionBinder
-
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, NotFoundAction notFoundAction, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)
- Overrides:
getSecondPassin classCollectionBinder
-
-