org.tranql.sql
Class SQLSchema

java.lang.Object
  extended byorg.tranql.sql.SQLSchema
All Implemented Interfaces:
Schema, java.io.Serializable
Direct Known Subclasses:
SQL92Schema

public abstract class SQLSchema
extends java.lang.Object
implements Schema

Version:
$Revision: 1.2 $ $Date: 2004/04/21 03:21:25 $
See Also:
Serialized Form

Constructor Summary
SQLSchema(java.lang.String name, javax.sql.DataSource ds, CommandFactory commandFactory)
           
 
Method Summary
 Table addTable(Table table)
           
 CommandFactory getCommandFactory()
           
 javax.sql.DataSource getDataSource()
           
 Entity getEntity(java.lang.String name)
           
 java.lang.String getName()
           
 java.lang.String getPhysicalName()
           
 Table getTable(java.lang.String tableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLSchema

public SQLSchema(java.lang.String name,
                 javax.sql.DataSource ds,
                 CommandFactory commandFactory)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Schema

getPhysicalName

public java.lang.String getPhysicalName()
Specified by:
getPhysicalName in interface Schema

getDataSource

public javax.sql.DataSource getDataSource()

getCommandFactory

public CommandFactory getCommandFactory()
Specified by:
getCommandFactory in interface Schema

getEntity

public Entity getEntity(java.lang.String name)
Specified by:
getEntity in interface Schema

addTable

public Table addTable(Table table)

getTable

public Table getTable(java.lang.String tableName)


Copyright © -2005 The Codehaus. All Rights Reserved.