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.


Field Summary
 Field[] fields
           
 String name
           
 String[] statements
           
 
Constructor Summary
Table(String name, Field[] fields, String[] statements)
          Constructor.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public String name

fields

public Field[] fields

statements

public String[] statements
Constructor Detail

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.