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
Constructors Constructor Description PluralAttributeSourceMapImpl(MappingDocument sourceMappingDocument, JaxbHbmMapType jaxbMap, AttributeSourceContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getComparatorName()
The comparator class name which will be used to sort the attribute.PluralAttributeIndexSource
getIndexSource()
PluralAttributeNature
getNature()
XmlElementMetadata
getSourceType()
String
getXmlNodeName()
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 Detail
-
PluralAttributeSourceMapImpl
public PluralAttributeSourceMapImpl(MappingDocument sourceMappingDocument, JaxbHbmMapType jaxbMap, AttributeSourceContainer container)
-
-
Method Detail
-
getIndexSource
public PluralAttributeIndexSource getIndexSource()
- Specified by:
getIndexSource
in interfaceIndexedPluralAttributeSource
-
getNature
public PluralAttributeNature getNature()
- Specified by:
getNature
in interfacePluralAttributeSource
-
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
-
isSorted
public boolean isSorted()
Description copied from interface:Sortable
If the source of plural attribute is supposed to be sorted.
-
getComparatorName
public String 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.
-
-