Top Description Inners Methods
org.hibernate.boot.model.source.spi

public Interface PluralAttributeMapKeySource

extends PluralAttributeIndexSource
Known Direct Subinterfaces
org.hibernate.boot.model.source.spi.PluralAttributeMapKeyManyToAnySource, org.hibernate.boot.model.source.spi.PluralAttributeMapKeyManyToManySource

Describes source information about the key of a persistent map. At high level this is broken down further into 2 categories:

PluralAttributeMapKeySourceEntityAttribute is only relevant from annotations when using jakarta.persistence.MapKey.

Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Modifier and TypeMethod and Description
public PluralAttributeMapKeySource.Nature
public boolean

Returns:

true, if this plural attribute index source for an attribute of the referenced entity; false, otherwise.
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)?

Inherited from org.hibernate.boot.model.source.spi.PluralAttributeIndexSource:
getNaturegetTypeInformationgetXmlNodeName

Method Detail

getMapKeyNatureback to summary
public PluralAttributeMapKeySource.Nature getMapKeyNature()
isReferencedEntityAttributeback to summary
public 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 returns true, then this object can safely be cast to PluralAttributeMapKeySourceEntityAttribute.

Returns:boolean

true, if this plural attribute index source for an attribute of the referenced entity; false, otherwise.

org.hibernate.boot.model.source.spi back to summary

public final Enum PluralAttributeMapKeySource.Nature

extends Enum<PluralAttributeMapKeySource.Nature>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final PluralAttributeMapKeySource.Nature
public static final PluralAttributeMapKeySource.Nature
public static final PluralAttributeMapKeySource.Nature
public static final PluralAttributeMapKeySource.Nature

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static PluralAttributeMapKeySource.Nature
public static PluralAttributeMapKeySource.Nature[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

ANYback to summary
public static final PluralAttributeMapKeySource.Nature ANY
BASICback to summary
public static final PluralAttributeMapKeySource.Nature BASIC
EMBEDDEDback to summary
public static final PluralAttributeMapKeySource.Nature EMBEDDED
MANY_TO_MANYback to summary
public static final PluralAttributeMapKeySource.Nature MANY_TO_MANY

Constructor Detail

Natureback to summary
private Nature()

Method Detail

valueOfback to summary
public static PluralAttributeMapKeySource.Nature valueOf(String name)
valuesback to summary
public static PluralAttributeMapKeySource.Nature[] values()