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
- Author:
- Steve Ebersole
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.boot.model.source.spi.PluralAttributeMapKeySource
PluralAttributeMapKeySource.Nature -
Constructor Summary
ConstructorsConstructorDescriptionPluralAttributeMapKeyManyToAnySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSource, JaxbHbmIndexManyToAnyType jaxbMapKeyManyToAnyMapping) -
Method Summary
Modifier and TypeMethodDescriptionObtain information about the Hibernate index type (Type) for this plural attribute index.booleanIs this plural attribute index source for an attribute of the referenced entity (relevant only for one-to-many and many-to-many associations)?Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.model.source.spi.AnyMappingSource
isLazy
-
Constructor Details
-
PluralAttributeMapKeyManyToAnySourceImpl
public PluralAttributeMapKeyManyToAnySourceImpl(MappingDocument mappingDocument, PluralAttributeSourceMapImpl pluralAttributeSource, JaxbHbmIndexManyToAnyType jaxbMapKeyManyToAnyMapping)
-
-
Method Details
-
getDiscriminatorSource
- Specified by:
getDiscriminatorSourcein interfaceAnyMappingSource
-
getKeySource
- Specified by:
getKeySourcein interfaceAnyMappingSource
-
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 returns
true, then this object can safely be cast toPluralAttributeMapKeyManyToManySource.- Specified by:
isReferencedEntityAttributein interfacePluralAttributeMapKeySource- Returns:
- true, if this plural attribute index source for an attribute of the referenced entity; false, otherwise.
-
getNature
- Specified by:
getNaturein interfacePluralAttributeIndexSource
-
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
- Specified by:
getXmlNodeNamein interfacePluralAttributeIndexSource
-