JavaXT

Table Class

Used to represent a table in the database.

Constructors

protected Table( java.sql.ResultSet rs, java.sql.DatabaseMetaData dbmd )

Methods

compareTo( Object obj ) returns int
getCatalog( ) returns String
getColumns( ) returns javaxt.sql.Column[]
Returns a list of columns in this table. Returns null if no columns are found.
getDescription( ) returns String
getForeignKeys( ) returns javaxt.sql.Key[]
Returns a list of foreign keys found in this table.
getName( ) returns String
Returns the name of this table.
getPrimaryKeys( ) returns javaxt.sql.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.
getSchema( ) returns String
hashCode( ) returns int
toString( ) returns String
Returns the table name.