Package org.hibernate.boot.internal
Class ForeignKeyNameSource
- java.lang.Object
-
- org.hibernate.boot.internal.ForeignKeyNameSource
-
- All Implemented Interfaces:
ImplicitConstraintNameSource
,ImplicitForeignKeyNameSource
,ImplicitNameSource
public class ForeignKeyNameSource extends Object implements ImplicitForeignKeyNameSource
-
-
Constructor Summary
Constructors Constructor Description ForeignKeyNameSource(ForeignKey foreignKey, Table table, MetadataBuildingContext buildingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataBuildingContext
getBuildingContext()
Access to the current building context.List<Identifier>
getColumnNames()
List<Identifier>
getReferencedColumnNames()
Identifier
getReferencedTableName()
Identifier
getTableName()
Identifier
getUserProvidedIdentifier()
-
-
-
Constructor Detail
-
ForeignKeyNameSource
public ForeignKeyNameSource(ForeignKey foreignKey, Table table, MetadataBuildingContext buildingContext)
-
-
Method Detail
-
getTableName
public Identifier getTableName()
- Specified by:
getTableName
in interfaceImplicitConstraintNameSource
-
getColumnNames
public List<Identifier> getColumnNames()
- Specified by:
getColumnNames
in interfaceImplicitConstraintNameSource
-
getReferencedTableName
public Identifier getReferencedTableName()
- Specified by:
getReferencedTableName
in interfaceImplicitForeignKeyNameSource
-
getReferencedColumnNames
public List<Identifier> getReferencedColumnNames()
- Specified by:
getReferencedColumnNames
in interfaceImplicitForeignKeyNameSource
-
getUserProvidedIdentifier
public Identifier getUserProvidedIdentifier()
- Specified by:
getUserProvidedIdentifier
in interfaceImplicitConstraintNameSource
-
getBuildingContext
public MetadataBuildingContext getBuildingContext()
Description copied from interface:ImplicitNameSource
Access to the current building context.- Specified by:
getBuildingContext
in interfaceImplicitNameSource
- Returns:
- The building context
-
-