Class PluralAttributeMapKeyManyToAnySourceImpl
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.hbm.PluralAttributeMapKeyManyToAnySourceImpl
-
- All Implemented Interfaces:
AnyMappingSource,PluralAttributeIndexSource,PluralAttributeMapKeyManyToAnySource,PluralAttributeMapKeySource
public class PluralAttributeMapKeyManyToAnySourceImpl extends Object implements PluralAttributeMapKeyManyToAnySource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.boot.model.source.spi.PluralAttributeMapKeySource
PluralAttributeMapKeySource.Nature
-
-
Constructor Summary
Constructors Constructor Description PluralAttributeMapKeyManyToAnySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSource, JaxbHbmIndexManyToAnyType jaxbMapKeyManyToAnyMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnyDiscriminatorSourcegetDiscriminatorSource()AnyKeySourcegetKeySource()PluralAttributeMapKeySource.NaturegetMapKeyNature()PluralAttributeIndexNaturegetNature()HibernateTypeSourcegetTypeInformation()Obtain information about the Hibernate index type (Type) for this plural attribute index.StringgetXmlNodeName()booleanisReferencedEntityAttribute()Is this plural attribute index source for an attribute of the referenced entity (relevant only for one-to-many and many-to-many associations)? If this method returnstrue, then this object can safely be cast toPluralAttributeMapKeySourceEntityAttribute.-
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.AnyMappingSource
isLazy
-
-
-
-
Constructor Detail
-
PluralAttributeMapKeyManyToAnySourceImpl
public PluralAttributeMapKeyManyToAnySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSource, JaxbHbmIndexManyToAnyType jaxbMapKeyManyToAnyMapping)
-
-
Method Detail
-
getDiscriminatorSource
public AnyDiscriminatorSource getDiscriminatorSource()
- Specified by:
getDiscriminatorSourcein interfaceAnyMappingSource
-
getKeySource
public AnyKeySource getKeySource()
- Specified by:
getKeySourcein interfaceAnyMappingSource
-
getMapKeyNature
public PluralAttributeMapKeySource.Nature getMapKeyNature()
- Specified by:
getMapKeyNaturein interfacePluralAttributeMapKeySource
-
isReferencedEntityAttribute
public boolean isReferencedEntityAttribute()
Description copied from interface:PluralAttributeMapKeySourceIs this plural attribute index source for an attribute of the referenced entity (relevant only for one-to-many and many-to-many associations)? If this method returnstrue, then this object can safely be cast toPluralAttributeMapKeySourceEntityAttribute.- Specified by:
isReferencedEntityAttributein interfacePluralAttributeMapKeySource- Returns:
- true, if this plural attribute index source for an attribute of the referenced entity; false, otherwise.
-
getNature
public PluralAttributeIndexNature getNature()
- Specified by:
getNaturein interfacePluralAttributeIndexSource
-
getTypeInformation
public HibernateTypeSource getTypeInformation()
Description copied from interface:PluralAttributeIndexSourceObtain information about the Hibernate index type (Type) for this plural attribute index.- Specified by:
getTypeInformationin interfacePluralAttributeIndexSource- Returns:
- The Hibernate type information
-
getXmlNodeName
public String getXmlNodeName()
- Specified by:
getXmlNodeNamein interfacePluralAttributeIndexSource
-
-