org.castor.cpa.persistence.sql.engine.info
public final class PrimaryKeyInfo extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
PrimaryKeyInfo(TableInfo table)
Construct primary key info for given table.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addColumn(ColumnInfo column)
Add column to list of primary key columns.
|
java.util.List<ColumnInfo> |
getColumns()
Get list of primary key columns.
|
TableInfo |
getTable()
Get table the primary key belongs to.
|
protected PrimaryKeyInfo(TableInfo table)
table
- Table the primary key belongs to.protected void addColumn(ColumnInfo column)
column
- Column that belongs to primary key.public TableInfo getTable()
public java.util.List<ColumnInfo> getColumns()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com