|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.castor.cpa.persistence.sql.engine.info.PrimaryKeyInfo
public final class PrimaryKeyInfo
Class representing primary key of a table.
| Constructor Summary | |
|---|---|
protected |
PrimaryKeyInfo(TableInfo table)
Construct primary key info for given table. |
| Method Summary | |
|---|---|
protected void |
addColumn(ColumnInfo column)
Add column to list of primary key columns. |
List<ColumnInfo> |
getColumns()
Get list of primary key columns. |
TableInfo |
getTable()
Get table the primary key belongs to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PrimaryKeyInfo(TableInfo table)
table - Table the primary key belongs to.| Method Detail |
|---|
protected void addColumn(ColumnInfo column)
column - Column that belongs to primary key.public TableInfo getTable()
public List<ColumnInfo> getColumns()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||