Class PluralAttributeSourceIdBagImpl
java.lang.Object
org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
org.hibernate.boot.model.source.internal.hbm.AbstractPluralAttributeSourceImpl
org.hibernate.boot.model.source.internal.hbm.PluralAttributeSourceIdBagImpl
- All Implemented Interfaces:
Helper.InLineViewNameInferrer,AttributeSource,CascadeStyleSource,FetchableAttributeSource,Orderable,PluralAttributeSource,ToolingHintContextContainer
public class PluralAttributeSourceIdBagImpl
extends AbstractPluralAttributeSourceImpl
implements Orderable
-
Constructor Summary
ConstructorsConstructorDescriptionPluralAttributeSourceIdBagImpl(MappingDocument mappingDocument, JaxbHbmIdBagCollectionType idBagMapping, AttributeSourceContainer container) -
Method Summary
Modifier and TypeMethodDescriptiongetOrder()The order by clause used during loading this plural attribute.This is only useful to log warnings when these deprecated attributes are populated.booleanIf the source of plural attribute is supposed to be applied theORDER BYwhen loading.Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractPluralAttributeSourceImpl
container, getAttributePath, getAttributeRole, getCaching, getCascadeStyleName, getCollectionTableCheck, getCollectionTableComment, getCollectionTableSpecificationSource, getCustomLoaderName, getCustomPersisterClassName, getCustomSqlDelete, getCustomSqlDeleteAll, getCustomSqlInsert, getCustomSqlUpdate, getElementSource, getFetchCharacteristics, getFilterSources, getKeySource, getMappedBy, getName, getPropertyAccessorName, getSynchronizedTableNames, getToolingHintContext, getTypeInformation, getWhere, inferInLineViewName, isIncludedInOptimisticLocking, isInverse, isMutable, isSingular, usesJoinTableMethods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
Constructor Details
-
PluralAttributeSourceIdBagImpl
public PluralAttributeSourceIdBagImpl(MappingDocument mappingDocument, JaxbHbmIdBagCollectionType idBagMapping, AttributeSourceContainer container)
-
-
Method Details
-
getNature
- Specified by:
getNaturein interfacePluralAttributeSource
-
getCollectionIdSource
- Specified by:
getCollectionIdSourcein interfacePluralAttributeSource- Overrides:
getCollectionIdSourcein classAbstractPluralAttributeSourceImpl
-
isOrdered
public boolean isOrdered()Description copied from interface:OrderableIf the source of plural attribute is supposed to be applied theORDER BYwhen loading. -
getOrder
Description copied from interface:OrderableThe 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
-
getSourceType
- Specified by:
getSourceTypein interfaceAttributeSource
-
getXmlNodeName
Description copied from interface:AttributeSourceThis 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.- Specified by:
getXmlNodeNamein interfaceAttributeSource- Returns:
- The xml node name
-