Package org.hibernate.metamodel.mapping
Interface TableDetails.KeyDetails
- All Known Implementing Classes:
EntityTableMapping.KeyMapping
- Enclosing interface:
- TableDetails
public static interface TableDetails.KeyDetails
Details about the primary key of a table
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Visit each key columnint
Number of columnsgetKeyColumn
(int position) Get a key column by relative positionList<? extends TableDetails.KeyColumn>
Group of columns defined on the primary key
-
Method Details
-
getColumnCount
int getColumnCount()Number of columns -
getKeyColumns
List<? extends TableDetails.KeyColumn> getKeyColumns()Group of columns defined on the primary key -
getKeyColumn
Get a key column by relative position -
forEachKeyColumn
Visit each key column
-