Class Schema

All Implemented Interfaces:
SchemaObject
Direct Known Subclasses:
DefaultSchema, MysqlSchema

public abstract class Schema extends AbstractSchemaObject
Abstract base class for all schemas.
Since:
1.1
Version:
$Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
Author:
Le Duc Bao, Ralf Joachim
  • Constructor Details

    • Schema

      public Schema()
  • Method Details

    • addTable

      public final void addTable(Table table)
      Add given table to list of tables.
      Parameters:
      table - Table to add to list of tables.
    • getTableCount

      public final int getTableCount()
      Get number of tables.
      Returns:
      Number of tables.
    • getTable

      public final Table getTable(int index)
      Get table at given index.
      Parameters:
      index - Index of table to return.
      Returns:
      Table at given index.
    • getTable

      public final Table getTable(String name)
      Get table with given name.
      Parameters:
      name - Name of table to return.
      Returns:
      Table with given name.