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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
forEachKeyColumn(TableDetails.KeyColumnConsumer consumer)
Visit each key columnint
getColumnCount()
Number of columnsTableDetails.KeyColumn
getKeyColumn(int position)
Get a key column by relative positionList<? extends TableDetails.KeyColumn>
getKeyColumns()
Group of columns defined on the primary key
-
-
-
Method Detail
-
getColumnCount
int getColumnCount()
Number of columns
-
getKeyColumns
List<? extends TableDetails.KeyColumn> getKeyColumns()
Group of columns defined on the primary key
-
getKeyColumn
TableDetails.KeyColumn getKeyColumn(int position)
Get a key column by relative position
-
forEachKeyColumn
void forEachKeyColumn(TableDetails.KeyColumnConsumer consumer)
Visit each key column
-
-