Top Fields Constructors Methods
org.hibernate.boot.model.source.internal.hbm

public Class PluralAttributeSourceMapImpl

extends AbstractPluralAttributeSourceImpl
implements IndexedPluralAttributeSource, Sortable
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.source.spi.Sortable, org.hibernate.boot.model.source.internal.hbm.IndexedPluralAttributeSource, org.hibernate.boot.model.source.spi.PluralAttributeSource, org.hibernate.boot.model.source.spi.CascadeStyleSource, org.hibernate.boot.model.source.spi.FetchableAttributeSource, org.hibernate.boot.model.source.spi.AttributeSource, org.hibernate.boot.model.source.spi.ToolingHintContextContainer
Imports
org.hibernate.AssertionFailure, org.hibernate.boot.jaxb.hbm.spi.JaxbHbmMapType, org.hibernate.boot.model.source.spi.AttributeSourceContainer, .PluralAttributeIndexSource, .PluralAttributeNature, .Sortable, org.hibernate.internal.util.StringHelper

Field Summary

Modifier and TypeField and Description
private final PluralAttributeIndexSource
private final String
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
getComparatorName()

Implements org.hibernate.boot.model.source.spi.Sortable.getComparatorName.

The comparator class name which will be used to sort the attribute.
public PluralAttributeIndexSource
public PluralAttributeNature
public XmlElementMetadata
public String
getXmlNodeName()

Implements org.hibernate.boot.model.source.spi.AttributeSource.getXmlNodeName.

This is only useful to log warnings when these deprecated attributes are populated.
private static String
public boolean
isSorted()

Implements org.hibernate.boot.model.source.spi.Sortable.isSorted.

If the source of plural attribute is supposed to be sorted.
Inherited from org.hibernate.boot.model.source.internal.hbm.AbstractPluralAttributeSourceImpl:
containergetAttributePathgetAttributeRolegetCachinggetCascadeStyleNamegetCollectionIdSourcegetCollectionTableCheckgetCollectionTableCommentgetCollectionTableSpecificationSourcegetCustomLoaderNamegetCustomPersisterClassNamegetCustomSqlDeletegetCustomSqlDeleteAllgetCustomSqlInsertgetCustomSqlUpdategetElementSourcegetFetchCharacteristicsgetFilterSourcesgetKeySourcegetMappedBygetNamegetPropertyAccessorNamegetSynchronizedTableNamesgetToolingHintContextgetTypeInformationgetWhereinferInLineViewNameisIncludedInOptimisticLockingisInverseisMutableisSingularusesJoinTable

Field Detail

indexSourceback to summary
private final PluralAttributeIndexSource indexSource
sortingback to summary
private final String sorting
xmlNodeNameback to summary
private final String xmlNodeName

Constructor Detail

PluralAttributeSourceMapImplback to summary
public PluralAttributeSourceMapImpl(MappingDocument sourceMappingDocument, JaxbHbmMapType jaxbMap, AttributeSourceContainer container)

Method Detail

getComparatorNameback to summary
public String getComparatorName()

Implements org.hibernate.boot.model.source.spi.Sortable.getComparatorName.

Doc from org.hibernate.boot.model.source.spi.Sortable.getComparatorName.

The comparator class name which will be used to sort the attribute.

Returns:String

Qualified class name which implements java.util.Comparator contact.

Annotations
@Override
getIndexSourceback to summary
public PluralAttributeIndexSource getIndexSource()

Implements org.hibernate.boot.model.source.internal.hbm.IndexedPluralAttributeSource.getIndexSource.

Annotations
@Override
getNatureback to summary
public PluralAttributeNature getNature()

Implements org.hibernate.boot.model.source.spi.PluralAttributeSource.getNature.

Annotations
@Override
getSourceTypeback to summary
public XmlElementMetadata getSourceType()

Implements org.hibernate.boot.model.source.spi.AttributeSource.getSourceType.

Annotations
@Override
getXmlNodeNameback to summary
public String getXmlNodeName()

Implements org.hibernate.boot.model.source.spi.AttributeSource.getXmlNodeName.

Doc from org.hibernate.boot.model.source.spi.AttributeSource.getXmlNodeName.

This is only useful to log warnings when these deprecated attributes are populated. It was only useful for DOM4J entity-mode, which was removed a long time ago.

Returns:String

The xml node name

Annotations
@Override
interpretSortingback to summary
private static String interpretSorting(String sort)
isSortedback to summary
public boolean isSorted()

Implements org.hibernate.boot.model.source.spi.Sortable.isSorted.

Doc from org.hibernate.boot.model.source.spi.Sortable.isSorted.

If the source of plural attribute is supposed to be sorted.

Returns:boolean

true the attribute will be sortable or false means not.

Annotations
@Override