Top Inners Methods
org.hibernate.tool.schema.extract.spi

public Interface ForeignKeyInformation

Known Direct Implementers
org.hibernate.tool.schema.extract.internal.ForeignKeyInformationImpl
Imports
org.hibernate.boot.model.naming.Identifier

Author
Steve Ebersole

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface

Method Summary

Modifier and TypeMethod and Description
public Iterable<ForeignKeyInformation.ColumnReferenceMapping>

Returns:

The sequential column reference mappings.
getColumnReferenceMappings
()

Get the column mappings that define the reference.

public Identifier

Returns:

The FK identifier.
getForeignKeyIdentifier
()

Obtain the identifier for this FK.

Method Detail

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

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

Returns:Iterable<ForeignKeyInformation.ColumnReferenceMapping>

The sequential column reference mappings.

getForeignKeyIdentifierback to summary
public Identifier getForeignKeyIdentifier()

Obtain the identifier for this FK.

Returns:Identifier

The FK identifier.

org.hibernate.tool.schema.extract.spi back to summary

public Interface ForeignKeyInformation.ColumnReferenceMapping

Known Direct Implementers
org.hibernate.tool.schema.extract.internal.ForeignKeyInformationImpl.ColumnReferenceMappingImpl

Method Summary

Modifier and TypeMethod and Description
public ColumnInformation

Returns:

The referenced column
getReferencedColumnMetadata
()

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

public ColumnInformation

Returns:

The referencing column.
getReferencingColumnMetadata
()

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

Method Detail

getReferencedColumnMetadataback to summary
public ColumnInformation getReferencedColumnMetadata()

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

Returns:ColumnInformation

The referenced column

getReferencingColumnMetadataback to summary
public ColumnInformation getReferencingColumnMetadata()

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

Returns:ColumnInformation

The referencing column.