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

public Class PluralAttributeSourceBagImpl

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

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final JaxbHbmBagCollectionType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
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.
Inherited from org.hibernate.boot.model.source.internal.hbm.AbstractPluralAttributeSourceImpl:
containergetAttributePathgetAttributeRolegetCachinggetCascadeStyleNamegetCollectionIdSourcegetCollectionTableCheckgetCollectionTableCommentgetCollectionTableSpecificationSourcegetCustomLoaderNamegetCustomPersisterClassNamegetCustomSqlDeletegetCustomSqlDeleteAllgetCustomSqlInsertgetCustomSqlUpdategetElementSourcegetFetchCharacteristicsgetFilterSourcesgetKeySourcegetMappedBygetNamegetPropertyAccessorNamegetSynchronizedTableNamesgetToolingHintContextgetTypeInformationgetWhereinferInLineViewNameisIncludedInOptimisticLockingisInverseisMutableisSingularusesJoinTable

Field Detail

jaxbBagMappingback to summary
private final JaxbHbmBagCollectionType jaxbBagMapping

Constructor Detail

PluralAttributeSourceBagImplback to summary
public PluralAttributeSourceBagImpl(MappingDocument sourceMappingDocument, JaxbHbmBagCollectionType jaxbBagMapping, AttributeSourceContainer container)

Method Detail

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