|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.ed.inf.utils.database.Table
public class Table
An SQL database table definition (table name + columns)
| Constructor Summary | |
|---|---|
Table(java.lang.String tableName,
java.util.Vector<TableColumn> columns)
List of primary key fields (starting from 0) |
|
| Method Summary | |
|---|---|
java.util.Vector<java.lang.String> |
getColumnNames()
Gets column names for the table |
java.util.Vector<TableColumn> |
getColumns()
Get the TableColumn list |
java.lang.String |
getTableName()
Get the table name |
boolean |
hasKey()
Gets the "has primary key" status for the table |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Table(java.lang.String tableName,
java.util.Vector<TableColumn> columns)
| Method Detail |
|---|
public java.util.Vector<java.lang.String> getColumnNames()
public java.util.Vector<TableColumn> getColumns()
TableColumn list
TableColumn listpublic java.lang.String getTableName()
public boolean hasKey()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||