|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uk.org.ogsadai.client.toolkit.properties.TableMetaData
| Method Summary | |
ColumnMetaData |
getColumn(int index)
Returns the type information of the column at the specified index |
int |
getColumnCount()
Returns the number of columns in this table |
java.lang.String[][] |
getExportedKeys()
Returns the exported keys of this table. |
java.lang.String[][] |
getImportedKeys()
Returns the imported keys of this table. |
java.lang.String |
getName()
Returns the name of this table. |
java.util.Set |
getPrimaryKeys()
Returns a set of columns which form the (composite) primary key of this table |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public java.lang.String getName()
public int getColumnCount()
public ColumnMetaData getColumn(int index)
index - the column index
public java.util.Set getPrimaryKeys()
public java.lang.String[][] getImportedKeys()
getImportedKeys()[n][1] is the table name of the foreign keygetImportedKeys()[n][2] is the column name of the foreign keygetImportedKeys()[n][3] is the table name of the primary keygetImportedKeys()[n][4] is the column name of the primary key
public java.lang.String[][] getExportedKeys()
getExportedKeys()[n][1] is the table name of the foreign keygetExportedKeys()[n][2] is the column name of the foreign keygetExportedKeys()[n][3] is the table name of the primary keygetExportedKeys()[n][4] is the column name of the primary key
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||