borland Packages  Class Hierarchy  datastore Package 

TableDef class

java.lang.Object
   +----com.borland.datastore.TableDef

About the TableDef class

Variables  Properties  Methods  

Implements Cloneable

Note: This is a feature of JBuilder Professional and Enterprise.

TableDef is used by DataStorePump to present tables available for import from an external database into a JDataStore database. Each TableDef represents an individual table. The properties of the TableDef can be modified after the DataStorePump.getTableDefs() method is called and before importing the tables to the JDataStore.


TableDef variables

Variables implemented in this class

TableDef properties

*Read-only properties **Write-only properties

Properties implemented in java.lang.Object

TableDef methods

Methods implemented in this class

Methods implemented in java.lang.Object


TableDef variables

catalog

  public String catalog
Catalog Pattern used by DataStorePump.getTableDefs() method when calling java.sql.DatabaseMetaData.getTables() against the external database to select tables for import.

enableRefresh

  public boolean enableRefresh
If true, save the query information associated with this table, so that the table can later be refreshed from the external database.

enableSave

  public boolean enableSave
If true, save the connection information associated with this table, so that changes to the table can be saved back to the external database.

indexes

  public SortDescriptor[] indexes
Array of indexes associated with this table.

query

  public String query
The SQL query used to access information from the external database for this table.

schema

  public String schema
Schema Pattern used by DataStorePump.getTableDefs() method when calling java.sql.DatabaseMetaData.getTables() against the external database to select tables for import.

storeName

  public String storeName
The name to give the table in the JDataStore.

table

  public String table
The name of the table in the external database.

TableDef methods

clone()

  public Object clone()

Overrides: java.lang.Object.clone()

toString()

  public final String toString()

Overrides: java.lang.Object.toString()