gate.db
Class Table
java.lang.Object
|
+--gate.db.Table
- public class Table
- extends Object
This class is used in defining databases structure.
More precisely this class defines a database Table.
name
public String name
fields
public Field[] fields
statements
public String[] statements
Table
public Table(String name,
Field[] fields,
String[] statements)
- Constructor.
- Parameters:
name
- The name of the Table.fields
- an array of gaet.db.Field values describing the columns
of this table.statements
- an array of String values, representing any SQL
statements that need to be run when initializing this table.