Interface PluralAttributeMapKeySource
-
- All Superinterfaces:
PluralAttributeIndexSource
- All Known Subinterfaces:
PluralAttributeMapKeyManyToAnySource
,PluralAttributeMapKeyManyToManySource
- All Known Implementing Classes:
PluralAttributeMapKeyManyToAnySourceImpl
,PluralAttributeMapKeyManyToManySourceImpl
public interface PluralAttributeMapKeySource extends PluralAttributeIndexSource
Describes source information about the key of a persistent map. At high level this is broken down further into 2 categories:PluralAttributeMapKeySourceEntityAttribute
PluralAttributeMapKeySourceEntityAttribute
is only relevant from annotations when usingMapKey
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PluralAttributeMapKeySource.Nature
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PluralAttributeMapKeySource.Nature
getMapKeyNature()
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 interface org.hibernate.boot.model.source.spi.PluralAttributeIndexSource
getNature, getTypeInformation, getXmlNodeName
-
-
-
-
Method Detail
-
getMapKeyNature
PluralAttributeMapKeySource.Nature getMapKeyNature()
-
isReferencedEntityAttribute
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
.- Returns:
- true, if this plural attribute index source for an attribute of the referenced entity; false, otherwise.
-
-