Package org.hibernate.boot.model.naming
Interface ImplicitJoinColumnNameSource
-
- All Superinterfaces:
ImplicitNameSource
public interface ImplicitJoinColumnNameSource extends ImplicitNameSource
Context for determining the implicit name of a "join column" (thinkJoinColumn
).- See Also:
JoinColumn
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ImplicitJoinColumnNameSource.Nature
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributePath
getAttributePath()
Access to the name of the attribute that defines the association.EntityNaming
getEntityNaming()
Access to entity naming information.ImplicitJoinColumnNameSource.Nature
getNature()
Identifier
getReferencedColumnName()
Access the name of the column that is the target of the FK being describedIdentifier
getReferencedTableName()
Access the name of the table that is the target of the FK being described-
Methods inherited from interface org.hibernate.boot.model.naming.ImplicitNameSource
getBuildingContext
-
-
-
-
Method Detail
-
getNature
ImplicitJoinColumnNameSource.Nature getNature()
-
getEntityNaming
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:
- Owning entity naming information
-
getAttributePath
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:
- The owning side's attribute name.
-
getReferencedTableName
Identifier getReferencedTableName()
Access the name of the table that is the target of the FK being described- Returns:
- The referenced table name
-
getReferencedColumnName
Identifier getReferencedColumnName()
Access the name of the column that is the target of the FK being described- Returns:
- The referenced column name
-
-