Class PluralAttributeSourceSetImpl
- 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.PluralAttributeSourceSetImpl
-
- All Implemented Interfaces:
Helper.InLineViewNameInferrer,AttributeSource,CascadeStyleSource,FetchableAttributeSource,Orderable,PluralAttributeSource,Sortable,ToolingHintContextContainer
public class PluralAttributeSourceSetImpl extends AbstractPluralAttributeSourceImpl implements Orderable, Sortable
-
-
Constructor Summary
Constructors Constructor Description PluralAttributeSourceSetImpl(MappingDocument sourceMappingDocument, JaxbHbmSetType jaxbSet, AttributeSourceContainer container)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComparatorName()The comparator class name which will be used to sort the attribute.PluralAttributeNaturegetNature()StringgetOrder()The order by clause used during loading this plural attribute.XmlElementMetadatagetSourceType()StringgetXmlNodeName()This is only useful to log warnings when these deprecated attributes are populated.booleanisOrdered()If the source of plural attribute is supposed to be applied theORDER BYwhen loading.booleanisSorted()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
-
-
-
-
Constructor Detail
-
PluralAttributeSourceSetImpl
public PluralAttributeSourceSetImpl(MappingDocument sourceMappingDocument, JaxbHbmSetType jaxbSet, AttributeSourceContainer container)
-
-
Method Detail
-
getNature
public PluralAttributeNature getNature()
- Specified by:
getNaturein interfacePluralAttributeSource
-
isSorted
public boolean isSorted()
Description copied from interface:SortableIf the source of plural attribute is supposed to be sorted.
-
getComparatorName
public String getComparatorName()
Description copied from interface:SortableThe comparator class name which will be used to sort the attribute.- Specified by:
getComparatorNamein interfaceSortable- Returns:
- Qualified class name which implements
Comparatorcontact.
-
isOrdered
public boolean isOrdered()
Description copied from interface:OrderableIf the source of plural attribute is supposed to be applied theORDER BYwhen loading.
-
getOrder
public String 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
- Specified by:
getOrderin interfaceOrderable- Returns:
- The
ORDER BYfragment used during loading this plural attribute from DB. - See Also:
OrderBy.value()
-
getSourceType
public XmlElementMetadata getSourceType()
- Specified by:
getSourceTypein interfaceAttributeSource
-
getXmlNodeName
public String 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
-
-