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

public Class PluralAttributeSourceSetImpl

extends AbstractPluralAttributeSourceImpl
implements Orderable, Sortable
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.model.source.spi.Sortable, org.hibernate.boot.model.source.spi.Orderable
Imports
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmSetType, org.hibernate.boot.model.source.spi.AttributeSourceContainer, .Orderable, .PluralAttributeNature, .Sortable, org.hibernate.internal.util.StringHelper

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final JaxbHbmSetType

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 PluralAttributeNature
public String
getOrder()

Implements org.hibernate.boot.model.source.spi.Orderable.getOrder.

The order by clause used during loading this plural attribute.
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.
public boolean
isOrdered()

Implements org.hibernate.boot.model.source.spi.Orderable.isOrdered.

If the source of plural attribute is supposed to be applied the ORDER BY when loading.
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

jaxbSetback to summary
private final JaxbHbmSetType jaxbSet

Constructor Detail

PluralAttributeSourceSetImplback to summary
public PluralAttributeSourceSetImpl(MappingDocument sourceMappingDocument, JaxbHbmSetType jaxbSet, 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
getNatureback to summary
public PluralAttributeNature getNature()

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

Annotations
@Override
getOrderback to summary
public String getOrder()

Implements org.hibernate.boot.model.source.spi.Orderable.getOrder.

Doc from org.hibernate.boot.model.source.spi.Orderable.getOrder.

The order by clause used during loading this plural attribute.

If the ordering element is not specified, ordering by the primary key of the associated entity is assumed

Returns:String

The ORDER BY fragment used during loading this plural attribute from DB.

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
isOrderedback to summary
public boolean isOrdered()

Implements org.hibernate.boot.model.source.spi.Orderable.isOrdered.

Doc from org.hibernate.boot.model.source.spi.Orderable.isOrdered.

If the source of plural attribute is supposed to be applied the ORDER BY when loading.

Returns:boolean

true indicates to apply the ORDER BY; false means not.

Annotations
@Override
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