Top Description Inners Methods
org.hibernate.boot.model.naming

public Interface ImplicitJoinColumnNameSource

extends ImplicitNameSource
Known Direct Implementers
org.hibernate.boot.model.internal.AnnotatedJoinColumns.UnownedImplicitJoinColumnNameSource, org.hibernate.boot.model.internal.AnnotatedJoinColumns.OwnedImplicitJoinColumnNameSource
Imports
org.hibernate.boot.model.source.spi.AttributePath

Context for determining the implicit name of a "join column" (think jakarta.persistence.JoinColumn).
Author
Steve Ebersole
See Also
jakarta.persistence.JoinColumn

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Modifier and TypeMethod and Description
public AttributePath

Returns:

The owning side's attribute name.
getAttributePath
()

Access to the name of the attribute that defines the association.

public EntityNaming

Returns:

Owning entity naming information
getEntityNaming
()

Access to entity naming information.

public ImplicitJoinColumnNameSource.Nature
public Identifier

Returns:

The referenced column name
getReferencedColumnName
()

Access the name of the column that is the target of the FK being described

public Identifier

Returns:

The referenced table name
getReferencedTableName
()

Access the name of the table that is the target of the FK being described

Inherited from org.hibernate.boot.model.naming.ImplicitNameSource:
getBuildingContext

Method Detail

getAttributePathback to summary
public AttributePath getAttributePath()

Access to the name of the attribute that defines the association. For "normal" join columns, this will be the attribute where the association is defined. For "inverse" join columns, this will be the "mapped-by" attribute.

Returns:AttributePath

The owning side's attribute name.

getEntityNamingback to summary
public EntityNaming getEntityNaming()

Access to entity naming information. For "normal" join columns, this will be the entity where the association is defined. For "inverse" join columns, this will be the target entity.

Returns:EntityNaming

Owning entity naming information

getNatureback to summary
public ImplicitJoinColumnNameSource.Nature getNature()
getReferencedColumnNameback to summary
public Identifier getReferencedColumnName()

Access the name of the column that is the target of the FK being described

Returns:Identifier

The referenced column name

getReferencedTableNameback to summary
public Identifier getReferencedTableName()

Access the name of the table that is the target of the FK being described

Returns:Identifier

The referenced table name

org.hibernate.boot.model.naming back to summary

public final Enum ImplicitJoinColumnNameSource.Nature

extends Enum<ImplicitJoinColumnNameSource.Nature>
Class Inheritance

Field Summary

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

ELEMENT_COLLECTIONback to summary
public static final ImplicitJoinColumnNameSource.Nature ELEMENT_COLLECTION
ENTITYback to summary
public static final ImplicitJoinColumnNameSource.Nature ENTITY
ENTITY_COLLECTIONback to summary
public static final ImplicitJoinColumnNameSource.Nature ENTITY_COLLECTION

Constructor Detail

Natureback to summary
private Nature()

Method Detail

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