net.sf.colle.sql.schema
Class RelationalModel

java.lang.Object
  extended bynet.sf.colle.sql.schema.RelationalModel

public class RelationalModel
extends Object

Structural model for a relational database. This class pulls the model from a set of XML documents which then can be used to create or manipulate the structure. Created: 21 Feb 2001

Version:
$Revision: 1.7 $, $Date: 2004/07/11 18:37:06 $
Author:
Dwayne Schultz

Field Summary
static org.jdom.Namespace NAMESPACE
           
 
Constructor Summary
RelationalModel(File pxPath, TableBuilder pxTableBuilder)
          Constructs a relational model from a set of XML documents following net/sf/colle/sql/relational.xsd.
 
Method Summary
 Table getTable(String psName)
          Returns a table with the specified name.
 Set getTableNames()
          Returns the full set of tables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMESPACE

public static final org.jdom.Namespace NAMESPACE
Constructor Detail

RelationalModel

public RelationalModel(File pxPath,
                       TableBuilder pxTableBuilder)
Constructs a relational model from a set of XML documents following net/sf/colle/sql/relational.xsd.

Parameters:
pxPath - directory containing set of XML documents.
Method Detail

getTable

public Table getTable(String psName)
Returns a table with the specified name.

Parameters:
psName - name of table requested.
Returns:
table object requested, null if it doesn't exist.

getTableNames

public Set getTableNames()
Returns the full set of tables.