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
Constructors Constructor Description PluralAttributeSourceIdBagImpl(MappingDocument mappingDocument, JaxbHbmIdBagCollectionType idBagMapping, AttributeSourceContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionIdSource
getCollectionIdSource()
PluralAttributeNature
getNature()
String
getOrder()
The order by clause used during loading this plural attribute.XmlElementMetadata
getSourceType()
String
getXmlNodeName()
This is only useful to log warnings when these deprecated attributes are populated.boolean
isOrdered()
If the source of plural attribute is supposed to be applied theORDER BY
when 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, usesJoinTable
-
Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractHbmSourceNode
mappingRoot, metadataBuildingContext, origin, sourceMappingDocument
-
-
-
-
Constructor Detail
-
PluralAttributeSourceIdBagImpl
public PluralAttributeSourceIdBagImpl(MappingDocument mappingDocument, JaxbHbmIdBagCollectionType idBagMapping, AttributeSourceContainer container)
-
-
Method Detail
-
getNature
public PluralAttributeNature getNature()
- Specified by:
getNature
in interfacePluralAttributeSource
-
getCollectionIdSource
public CollectionIdSource getCollectionIdSource()
- Specified by:
getCollectionIdSource
in interfacePluralAttributeSource
- Overrides:
getCollectionIdSource
in classAbstractPluralAttributeSourceImpl
-
isOrdered
public boolean isOrdered()
Description copied from interface:Orderable
If the source of plural attribute is supposed to be applied theORDER BY
when loading.
-
getOrder
public String getOrder()
Description copied from interface:Orderable
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
- Specified by:
getOrder
in interfaceOrderable
- Returns:
- The
ORDER BY
fragment used during loading this plural attribute from DB. - See Also:
OrderBy.value()
-
getSourceType
public XmlElementMetadata getSourceType()
- Specified by:
getSourceType
in interfaceAttributeSource
-
getXmlNodeName
public String getXmlNodeName()
Description copied from interface:AttributeSource
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.- Specified by:
getXmlNodeName
in interfaceAttributeSource
- Returns:
- The xml node name
-
-