Package org.hibernate.boot.internal
Class ForeignKeyNameSource
java.lang.Object
org.hibernate.boot.internal.ForeignKeyNameSource
- All Implemented Interfaces:
ImplicitConstraintNameSource,ImplicitForeignKeyNameSource,ImplicitNameSource
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.boot.model.naming.ImplicitConstraintNameSource
ImplicitConstraintNameSource.Kind -
Constructor Summary
ConstructorsConstructorDescriptionForeignKeyNameSource(ForeignKey foreignKey, Table table, MetadataBuildingContext buildingContext) -
Method Summary
Modifier and TypeMethodDescriptionAccess to the current building context.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.model.naming.ImplicitForeignKeyNameSource
kind
-
Constructor Details
-
ForeignKeyNameSource
public ForeignKeyNameSource(ForeignKey foreignKey, Table table, MetadataBuildingContext buildingContext)
-
-
Method Details
-
getTableName
- Specified by:
getTableNamein interfaceImplicitConstraintNameSource
-
getColumnNames
- Specified by:
getColumnNamesin interfaceImplicitConstraintNameSource
-
getReferencedTableName
- Specified by:
getReferencedTableNamein interfaceImplicitForeignKeyNameSource
-
getReferencedColumnNames
- Specified by:
getReferencedColumnNamesin interfaceImplicitForeignKeyNameSource
-
getUserProvidedIdentifier
- Specified by:
getUserProvidedIdentifierin interfaceImplicitConstraintNameSource
-
getBuildingContext
Description copied from interface:ImplicitNameSourceAccess to the current building context.- Specified by:
getBuildingContextin interfaceImplicitNameSource- Returns:
- The building context
-