Table Class

Used to represent a table in the database.

Constructors

There are no public constructors.

Public Methods

getName( ) returns String
Returns the name of this table.
getDescription( ) returns String
getSchema( ) returns String
getCatalog( ) returns String
getColumns( ) returns Column[]
Returns a list of columns in this table. Returns null if no columns are found.
getPrimaryKeys( ) returns Key[]
Returns a list of primary keys in this table. Usually there is only one primary key per table, but some vendors do support multiple keys per table.
getForeignKeys( ) returns Key[]
Returns a list of foreign keys found in this table.
toString( ) returns String
Returns the table name.
hashCode( ) returns int
compareTo( Object obj ) returns int