|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PrimaryKey

Provides database table's primary key specific metadata.
| Method Summary | |
|---|---|
void |
addColumn(PrimaryKeyColumn primaryKeyColumn)
Adds PrimaryKeyColumn |
void |
deleteColumn(PrimaryKeyColumn primaryKeyColumn)
deletes PrimaryKeyColumn |
PrimaryKeyColumn |
findColumnByName(String columnName)
Returns table column for specified column name or null |
Set<PrimaryKeyColumn> |
getColumns()
Retrieves primary key columns |
| Methods inherited from interface org.jboss.dna.common.jdbc.model.api.SchemaObject |
|---|
getCatalog, getSchema, setCatalog, setSchema |
| Methods inherited from interface org.jboss.dna.common.jdbc.model.api.DatabaseNamedObject |
|---|
addExtraProperty, deleteExtraProperty, getExtraProperties, getExtraProperty, getName, getRemarks, setName, setRemarks |
| Method Detail |
|---|
Set<PrimaryKeyColumn> getColumns()
void addColumn(PrimaryKeyColumn primaryKeyColumn)
primaryKeyColumn - the PrimaryKeyColumnvoid deleteColumn(PrimaryKeyColumn primaryKeyColumn)
primaryKeyColumn - the PrimaryKeyColumnPrimaryKeyColumn findColumnByName(String columnName)
columnName - the name of column
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||