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

public Class PrimaryKeyInformationImpl

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

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Iterable<ColumnInformation>
private final Identifier

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Iterable<ColumnInformation>
getColumns()

Implements org.hibernate.tool.schema.extract.spi.PrimaryKeyInformation.getColumns.

Obtain the columns making up the primary key.
public Identifier
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

columnsback to summary
private final Iterable<ColumnInformation> columns
identifierback to summary
private final Identifier identifier

Constructor Detail

PrimaryKeyInformationImplback to summary
public PrimaryKeyInformationImpl(Identifier identifier, Iterable<ColumnInformation> columns)

Method Detail

getColumnsback to summary
public Iterable<ColumnInformation> getColumns()

Implements org.hibernate.tool.schema.extract.spi.PrimaryKeyInformation.getColumns.

Doc from org.hibernate.tool.schema.extract.spi.PrimaryKeyInformation.getColumns.

Obtain the columns making up the primary key. Returned in sequential order.

Returns:Iterable<ColumnInformation>

The columns

Annotations
@Override
getPrimaryKeyIdentifierback to summary
public Identifier getPrimaryKeyIdentifier()

Implements org.hibernate.tool.schema.extract.spi.PrimaryKeyInformation.getPrimaryKeyIdentifier.

Doc from org.hibernate.tool.schema.extract.spi.PrimaryKeyInformation.getPrimaryKeyIdentifier.

Obtain the identifier for this PK.

Returns:Identifier

The PK identifier.

Annotations
@Override