Class ForeignKeyInformationImpl
- java.lang.Object
-
- org.hibernate.tool.schema.extract.internal.ForeignKeyInformationImpl
-
- All Implemented Interfaces:
ForeignKeyInformation
public class ForeignKeyInformationImpl extends Object implements ForeignKeyInformation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ForeignKeyInformationImpl.ColumnReferenceMappingImpl
-
Nested classes/interfaces inherited from interface org.hibernate.tool.schema.extract.spi.ForeignKeyInformation
ForeignKeyInformation.ColumnReferenceMapping
-
-
Constructor Summary
Constructors Constructor Description ForeignKeyInformationImpl(Identifier fkIdentifier, List<ForeignKeyInformation.ColumnReferenceMapping> columnMappingList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<ForeignKeyInformation.ColumnReferenceMapping>
getColumnReferenceMappings()
Get the column mappings that define the reference.Identifier
getForeignKeyIdentifier()
Obtain the identifier for this FK.
-
-
-
Constructor Detail
-
ForeignKeyInformationImpl
public ForeignKeyInformationImpl(Identifier fkIdentifier, List<ForeignKeyInformation.ColumnReferenceMapping> columnMappingList)
-
-
Method Detail
-
getForeignKeyIdentifier
public Identifier getForeignKeyIdentifier()
Description copied from interface:ForeignKeyInformation
Obtain the identifier for this FK.- Specified by:
getForeignKeyIdentifier
in interfaceForeignKeyInformation
- Returns:
- The FK identifier.
-
getColumnReferenceMappings
public Iterable<ForeignKeyInformation.ColumnReferenceMapping> getColumnReferenceMappings()
Description copied from interface:ForeignKeyInformation
Get the column mappings that define the reference. Returned in sequential order.- Specified by:
getColumnReferenceMappings
in interfaceForeignKeyInformation
- Returns:
- The sequential column reference mappings.
-
-