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.Identifier
getPrimaryKeyIdentifier()
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:PrimaryKeyInformation
Obtain the identifier for this PK.- Specified by:
getPrimaryKeyIdentifier
in interfacePrimaryKeyInformation
- Returns:
- The PK identifier.
-
getColumns
public Iterable<ColumnInformation> getColumns()
Description copied from interface:PrimaryKeyInformation
Obtain the columns making up the primary key. Returned in sequential order.- Specified by:
getColumns
in interfacePrimaryKeyInformation
- Returns:
- The columns
-
-