Top Inners Fields Constructors Methods
org.hibernate.tool.schema.extract.internal

public Class ForeignKeyInformationImpl

extends Object
implements ForeignKeyInformation
Class Inheritance
All Implemented Interfaces
org.hibernate.tool.schema.extract.spi.ForeignKeyInformation
Imports
java.util.List, org.hibernate.boot.model.naming.Identifier, org.hibernate.tool.schema.extract.spi.ColumnInformation, .ForeignKeyInformation

Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final List<ForeignKeyInformation.ColumnReferenceMapping>
private final Identifier

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Iterable<ForeignKeyInformation.ColumnReferenceMapping>
public Identifier
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

columnMappingListback to summary
private final List<ForeignKeyInformation.ColumnReferenceMapping> columnMappingList
fkIdentifierback to summary
private final Identifier fkIdentifier

Constructor Detail

ForeignKeyInformationImplback to summary
public ForeignKeyInformationImpl(Identifier fkIdentifier, List<ForeignKeyInformation.ColumnReferenceMapping> columnMappingList)

Method Detail

getColumnReferenceMappingsback to summary
public Iterable<ForeignKeyInformation.ColumnReferenceMapping> getColumnReferenceMappings()

Implements org.hibernate.tool.schema.extract.spi.ForeignKeyInformation.getColumnReferenceMappings.

Doc from org.hibernate.tool.schema.extract.spi.ForeignKeyInformation.getColumnReferenceMappings.

Get the column mappings that define the reference. Returned in sequential order.

Returns:Iterable<ForeignKeyInformation.ColumnReferenceMapping>

The sequential column reference mappings.

Annotations
@Override
getForeignKeyIdentifierback to summary
public Identifier getForeignKeyIdentifier()

Implements org.hibernate.tool.schema.extract.spi.ForeignKeyInformation.getForeignKeyIdentifier.

Doc from org.hibernate.tool.schema.extract.spi.ForeignKeyInformation.getForeignKeyIdentifier.

Obtain the identifier for this FK.

Returns:Identifier

The FK identifier.

Annotations
@Override
org.hibernate.tool.schema.extract.internal back to summary

public Class ForeignKeyInformationImpl.ColumnReferenceMappingImpl

extends Object
implements ColumnReferenceMapping
Class Inheritance
  • java.lang.Object
  • org.hibernate.tool.schema.extract.internal.ForeignKeyInformationImpl.ColumnReferenceMappingImpl
All Implemented Interfaces
org.hibernate.tool.schema.extract.spi.ForeignKeyInformation.ColumnReferenceMapping

Field Summary

Modifier and TypeField and Description
private final ColumnInformation
private final ColumnInformation

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ColumnInformation
public ColumnInformation
getReferencingColumnMetadata()

Implements org.hibernate.tool.schema.extract.spi.ForeignKeyInformation.ColumnReferenceMapping.getReferencingColumnMetadata.

Obtain the information about the referencing column (the source column, which points to the referenced column).
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

referencedback to summary
private final ColumnInformation referenced
referencingback to summary
private final ColumnInformation referencing

Constructor Detail

ColumnReferenceMappingImplback to summary
public ColumnReferenceMappingImpl(ColumnInformation referencing, ColumnInformation referenced)

Method Detail

getReferencedColumnMetadataback to summary
public ColumnInformation getReferencedColumnMetadata()

Implements org.hibernate.tool.schema.extract.spi.ForeignKeyInformation.ColumnReferenceMapping.getReferencedColumnMetadata.

Doc from org.hibernate.tool.schema.extract.spi.ForeignKeyInformation.ColumnReferenceMapping.getReferencedColumnMetadata.

Obtain the information about the referenced column (the target side).

Returns:ColumnInformation

The referenced column

Annotations
@Override
getReferencingColumnMetadataback to summary
public ColumnInformation getReferencingColumnMetadata()

Implements org.hibernate.tool.schema.extract.spi.ForeignKeyInformation.ColumnReferenceMapping.getReferencingColumnMetadata.

Doc from org.hibernate.tool.schema.extract.spi.ForeignKeyInformation.ColumnReferenceMapping.getReferencingColumnMetadata.

Obtain the information about the referencing column (the source column, which points to the referenced column).

Returns:ColumnInformation

The referencing column.

Annotations
@Override