org.castor.ddlgen.schemaobject
Class Schema
java.lang.Object
org.castor.ddlgen.schemaobject.AbstractSchemaObject
org.castor.ddlgen.schemaobject.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Schema
public Schema()
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.
Copyright © 2010. All Rights Reserved.