Package org.hibernate.boot.model.naming
Interface ImplicitJoinColumnNameSource
- All Superinterfaces:
ImplicitNameSource
Context for determining the implicit name of a "join column" (think
JoinColumn
).- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionAccess to the name of the attribute that defines the association.Access to entity naming information.Access the name of the column that is the target of the FK being describedAccess the name of the table that is the target of the FK being describedMethods inherited from interface org.hibernate.boot.model.naming.ImplicitNameSource
getBuildingContext
-
Method Details
-
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
-