Class ForeignKeyInformationImpl.ColumnReferenceMappingImpl
- java.lang.Object
-
- org.hibernate.tool.schema.extract.internal.ForeignKeyInformationImpl.ColumnReferenceMappingImpl
-
- All Implemented Interfaces:
ForeignKeyInformation.ColumnReferenceMapping
- Enclosing class:
- ForeignKeyInformationImpl
public static class ForeignKeyInformationImpl.ColumnReferenceMappingImpl extends Object implements ForeignKeyInformation.ColumnReferenceMapping
-
-
Constructor Summary
Constructors Constructor Description ColumnReferenceMappingImpl(ColumnInformation referencing, ColumnInformation referenced)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnInformation
getReferencedColumnMetadata()
Obtain the information about the referenced column (the target side).ColumnInformation
getReferencingColumnMetadata()
Obtain the information about the referencing column (the source column, which points to the referenced column).
-
-
-
Constructor Detail
-
ColumnReferenceMappingImpl
public ColumnReferenceMappingImpl(ColumnInformation referencing, ColumnInformation referenced)
-
-
Method Detail
-
getReferencingColumnMetadata
public ColumnInformation getReferencingColumnMetadata()
Description copied from interface:ForeignKeyInformation.ColumnReferenceMapping
Obtain the information about the referencing column (the source column, which points to the referenced column).- Specified by:
getReferencingColumnMetadata
in interfaceForeignKeyInformation.ColumnReferenceMapping
- Returns:
- The referencing column.
-
getReferencedColumnMetadata
public ColumnInformation getReferencedColumnMetadata()
Description copied from interface:ForeignKeyInformation.ColumnReferenceMapping
Obtain the information about the referenced column (the target side).- Specified by:
getReferencedColumnMetadata
in interfaceForeignKeyInformation.ColumnReferenceMapping
- Returns:
- The referenced column
-
-