Class PrimaryKeyInformationImpl
- java.lang.Object
-
- org.hibernate.tool.schema.extract.internal.PrimaryKeyInformationImpl
-
- All Implemented Interfaces:
PrimaryKeyInformation
public class PrimaryKeyInformationImpl extends Object implements PrimaryKeyInformation
-
-
Constructor Summary
Constructors Constructor Description PrimaryKeyInformationImpl(Identifier identifier, Iterable<ColumnInformation> columns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<ColumnInformation>getColumns()Obtain the columns making up the primary key.IdentifiergetPrimaryKeyIdentifier()Obtain the identifier for this PK.
-
-
-
Constructor Detail
-
PrimaryKeyInformationImpl
public PrimaryKeyInformationImpl(Identifier identifier, Iterable<ColumnInformation> columns)
-
-
Method Detail
-
getPrimaryKeyIdentifier
public Identifier getPrimaryKeyIdentifier()
Description copied from interface:PrimaryKeyInformationObtain the identifier for this PK.- Specified by:
getPrimaryKeyIdentifierin interfacePrimaryKeyInformation- Returns:
- The PK identifier.
-
getColumns
public Iterable<ColumnInformation> getColumns()
Description copied from interface:PrimaryKeyInformationObtain the columns making up the primary key. Returned in sequential order.- Specified by:
getColumnsin interfacePrimaryKeyInformation- Returns:
- The columns
-
-