rdbtoonto.dbmodel
Class DBReader

java.lang.Object
  extended by rdbtoonto.dbmodel.DBReader

public class DBReader
extends java.lang.Object

Abstract class from which database readers should be derived.


Constructor Summary
DBReader(java.lang.String loc, java.lang.String user, java.lang.String password)
           
 
Method Summary
 Database getDatabase()
           
 Attribute lookForAttIgnoreCase(java.lang.String attName, TableDef td)
           
 TableDef lookForTableIgnoreCase(java.lang.String tName)
           
 boolean readData()
           
 boolean readDatabase()
           
 boolean readDataTable(TableDef td)
           
 boolean readSchema()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBReader

public DBReader(java.lang.String loc,
                java.lang.String user,
                java.lang.String password)
         throws DBReaderException
Throws:
DBReaderException
Method Detail

getDatabase

public Database getDatabase()

readDatabase

public boolean readDatabase()

readData

public boolean readData()

readSchema

public boolean readSchema()

readDataTable

public boolean readDataTable(TableDef td)

lookForTableIgnoreCase

public TableDef lookForTableIgnoreCase(java.lang.String tName)

lookForAttIgnoreCase

public Attribute lookForAttIgnoreCase(java.lang.String attName,
                                      TableDef td)