Top Description Fields Constructors Methods
org.hibernate.cfg.annotations

public Class ListBinder

extends CollectionBinder
Class Inheritance
Known Direct Subclasses
org.hibernate.cfg.annotations.ArrayBinder
Annotations
@SuppressWarnings:unchecked, serial
Imports
java.util.Map, org.hibernate.AnnotationException, .MappingException, org.hibernate.annotations.NotFoundAction, .OrderBy, .Sort, org.hibernate.annotations.common.reflection.XClass, .XProperty, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.cfg.CollectionSecondPass, .Ejb3Column, .Ejb3JoinColumn, .PropertyHolder, .PropertyHolderBuilder, .SecondPass, org.hibernate.internal.CoreMessageLogger, org.hibernate.internal.util.StringHelper, org.hibernate.mapping.Collection, .IndexBackref, .List, .OneToMany, .PersistentClass, .SimpleValue, org.jboss.logging.Logger

Bind a list to the underlying Hibernate configuration
Authors
Matthew Inger, Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
private static final CoreMessageLogger
Inherited from org.hibernate.cfg.annotations.CollectionBinder:
cascadeDeleteEnabledcollectionindexColumninheritanceStatePerClasslocalGeneratorsmapKeyPropertyNamepropertyHolderpropertyName

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
bindIndex(final MetadataBuildingContext buildingContext)

protected Collection
public SecondPass
getSecondPass(final Ejb3JoinColumn[] fkJoinColumns, final Ejb3JoinColumn[] keyColumns, final Ejb3JoinColumn[] inverseColumns, final Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, final Ejb3JoinColumn[] mapKeyManyToManyColumns, final boolean isEmbedded, final XProperty property, final XClass collType, final NotFoundAction notFoundAction, final boolean unique, final TableBinder assocTableBinder, final MetadataBuildingContext buildingContext)

Overrides org.hibernate.cfg.annotations.CollectionBinder.getSecondPass.

public void
setSort(Sort sortAnn)

Overrides org.hibernate.cfg.annotations.CollectionBinder.setSort.

Deprecated as a consequence of Sort being deprecated.
public void
Inherited from org.hibernate.cfg.annotations.CollectionBinder:
adjustUserSuppliedValueCollectionOrderingFragmentbindbindManytoManyInverseFkbindOneToManySecondPassbindStarToManySecondPassgetBuildingContextgetCollectiongetCollectionBindergetNotFoundActionisHibernateExtensionMappingisMapsetAccessTypesetBatchSizesetBuildingContextsetCachesetCascadeDeleteEnabledsetCascadeStrategysetCollectionTypesetComparatorSortsetDeclaringClasssetElementColumnssetEmbeddedsetExplicitAssociationTablesetFkJoinColumnssetIgnoreNotFoundsetIndexColumnsetInheritanceStatePerClasssetInsertablesetInverseJoinColumnssetIsHibernateExtensionMappingsetJoinColumnssetJpaOrderBysetLocalGeneratorssetMapKeysetMapKeyColumnssetMapKeyManyToManyColumnssetMappedBysetNaturalSortsetNotFoundActionsetOneToManysetPropertysetPropertyHoldersetPropertyNamesetTableBindersetTargetEntitysetUpdatable

Field Detail

LOGback to summary
private static final CoreMessageLogger LOG

Hides org.hibernate.cfg.annotations.CollectionBinder.LOG.

Constructor Detail

ListBinderback to summary
public ListBinder()

Method Detail

bindIndexback to summary
private void bindIndex(final MetadataBuildingContext buildingContext)
createCollectionback to summary
protected Collection createCollection(PersistentClass persistentClass)

Implements abstract org.hibernate.cfg.annotations.CollectionBinder.createCollection.

Annotations
@Override
getSecondPassback to summary
public SecondPass getSecondPass(final Ejb3JoinColumn[] fkJoinColumns, final Ejb3JoinColumn[] keyColumns, final Ejb3JoinColumn[] inverseColumns, final Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, final Ejb3JoinColumn[] mapKeyManyToManyColumns, final boolean isEmbedded, final XProperty property, final XClass collType, final NotFoundAction notFoundAction, final boolean unique, final TableBinder assocTableBinder, final MetadataBuildingContext buildingContext)

Overrides org.hibernate.cfg.annotations.CollectionBinder.getSecondPass.

Annotations
@Override
setSortback to summary
public void setSort(Sort sortAnn)

Overrides org.hibernate.cfg.annotations.CollectionBinder.setSort.

Deprecated

as a consequence of Sort being deprecated. See corresponding docs for further information.

Annotations
@Override
setSqlOrderByback to summary
public void setSqlOrderBy(OrderBy orderByAnn)

Overrides org.hibernate.cfg.annotations.CollectionBinder.setSqlOrderBy.

Annotations
@Override