|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
DbSchema Table operations.
A table is essentially an ordered list of columns with distinct column names. Furthermore there are cross references to attributes like unique constraints and foreign key constraints which might span multiple column names.
| Method Summary | |
List |
getColumnList()
get the columns of this table as a list. |
List |
getForeignKeyList()
get the foreignkeys of this table as a list. |
String |
getTableName()
the table name. |
DbSchemaColumn |
hasColumn(String name)
find column within table definition. |
boolean |
hasForeignKeyTo(DbSchemaTableQName table)
check foreign key assertion. |
String |
hasSchemaName()
the schema name. |
| Methods inherited from interface smacs.util.schema.HasTableSchemaNameSpec |
getTableSchemaNameSpec |
| Methods inherited from interface smacs.util.schema.HasTableSchemaName |
getTableSchemaBaseNameSpec, getTableSchemaName |
| Method Detail |
public String getTableName()
SqlTableReference
getTableName in interface HasTableNamepublic String hasSchemaName()
hasSchemaName in interface TableQNamepublic DbSchemaColumn hasColumn(String name)
public boolean hasForeignKeyTo(DbSchemaTableQName table)
public List getColumnList()
public List getForeignKeyList()
|
SMACS | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||