Class PluralAttributeSourceMapImpl
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.PluralAttributeSourceMapImpl
- All Implemented Interfaces:
Helper.InLineViewNameInferrer
,IndexedPluralAttributeSource
,AttributeSource
,CascadeStyleSource
,FetchableAttributeSource
,PluralAttributeSource
,Sortable
,ToolingHintContextContainer
public class PluralAttributeSourceMapImpl
extends AbstractPluralAttributeSourceImpl
implements IndexedPluralAttributeSource, Sortable
-
Constructor Summary
ConstructorsConstructorDescriptionPluralAttributeSourceMapImpl
(MappingDocument sourceMappingDocument, JaxbHbmMapType jaxbMap, AttributeSourceContainer container) -
Method Summary
Modifier and TypeMethodDescriptionThe comparator class name which will be used to sort the attribute.This is only useful to log warnings when these deprecated attributes are populated.boolean
isSorted()
If the source of plural attribute is supposed to be sorted.Methods inherited from class org.hibernate.boot.model.source.internal.hbm.AbstractPluralAttributeSourceImpl
container, getAttributePath, getAttributeRole, getCaching, getCascadeStyleName, getCollectionIdSource, 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.boot.model.source.spi.AttributeSource
getAttributePath, getAttributeRole, getName, getPropertyAccessorName, getTypeInformation, isIncludedInOptimisticLocking, isSingular
Methods inherited from interface org.hibernate.boot.model.source.spi.CascadeStyleSource
getCascadeStyleName
Methods inherited from interface org.hibernate.boot.model.source.spi.PluralAttributeSource
getCaching, getCollectionIdSource, getCollectionTableCheck, getCollectionTableComment, getCollectionTableSpecificationSource, getCustomLoaderName, getCustomPersisterClassName, getCustomSqlDelete, getCustomSqlDeleteAll, getCustomSqlInsert, getCustomSqlUpdate, getElementSource, getFetchCharacteristics, getFilterSources, getKeySource, getMappedBy, getSynchronizedTableNames, getWhere, isInverse, isMutable, usesJoinTable
Methods inherited from interface org.hibernate.boot.model.source.spi.ToolingHintContextContainer
getToolingHintContext
-
Constructor Details
-
PluralAttributeSourceMapImpl
public PluralAttributeSourceMapImpl(MappingDocument sourceMappingDocument, JaxbHbmMapType jaxbMap, AttributeSourceContainer container)
-
-
Method Details
-
getIndexSource
- Specified by:
getIndexSource
in interfaceIndexedPluralAttributeSource
-
getNature
- Specified by:
getNature
in interfacePluralAttributeSource
-
getSourceType
- Specified by:
getSourceType
in interfaceAttributeSource
-
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
-
isSorted
public boolean isSorted()Description copied from interface:Sortable
If the source of plural attribute is supposed to be sorted. -
getComparatorName
Description copied from interface:Sortable
The comparator class name which will be used to sort the attribute.- Specified by:
getComparatorName
in interfaceSortable
- Returns:
- Qualified class name which implements
Comparator
contact.
-