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 AnyDiscriminatorSource
getDiscriminatorSource()
AnyKeySource
getKeySource()
PluralAttributeMapKeySource.Nature
getMapKeyNature()
PluralAttributeIndexNature
getNature()
HibernateTypeSource
getTypeInformation()
Obtain information about the Hibernate index type (Type
) for this plural attribute index.String
getXmlNodeName()
boolean
isReferencedEntityAttribute()
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:
getDiscriminatorSource
in interfaceAnyMappingSource
-
getKeySource
public AnyKeySource getKeySource()
- Specified by:
getKeySource
in interfaceAnyMappingSource
-
getMapKeyNature
public PluralAttributeMapKeySource.Nature getMapKeyNature()
- Specified by:
getMapKeyNature
in interfacePluralAttributeMapKeySource
-
isReferencedEntityAttribute
public boolean isReferencedEntityAttribute()
Description copied from interface:PluralAttributeMapKeySource
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
.- Specified by:
isReferencedEntityAttribute
in interfacePluralAttributeMapKeySource
- Returns:
- true, if this plural attribute index source for an attribute of the referenced entity; false, otherwise.
-
getNature
public PluralAttributeIndexNature getNature()
- Specified by:
getNature
in interfacePluralAttributeIndexSource
-
getTypeInformation
public HibernateTypeSource getTypeInformation()
Description copied from interface:PluralAttributeIndexSource
Obtain information about the Hibernate index type (Type
) for this plural attribute index.- Specified by:
getTypeInformation
in interfacePluralAttributeIndexSource
- Returns:
- The Hibernate type information
-
getXmlNodeName
public String getXmlNodeName()
- Specified by:
getXmlNodeName
in interfacePluralAttributeIndexSource
-
-