edu.mssm.crover.tables
Class QueryTable

java.lang.Object
  |
  +--edu.mssm.crover.tables.QueryTable

public class QueryTable
extends java.lang.Object

Passes various requests(queries) to a table, using SQL queries.


Field Summary
protected  java.sql.Connection conn
           
 
Constructor Summary
protected QueryTable()
           
 
Method Summary
 void begin()
          Notifies this class that a batch of interaction now begin.
 void end()
          Notifies this class that a batch of interaction now ends.
 java.lang.String getFileFragment(java.lang.String index)
           
static QueryTable getInstance()
           
 java.lang.String getTablename()
           
protected  void initConnection()
          Makes sure a connection is available.
static void main(java.lang.String[] args)
           
 void setTablename(java.lang.String tablename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

conn

protected java.sql.Connection conn
Constructor Detail

QueryTable

protected QueryTable()
Method Detail

getTablename

public java.lang.String getTablename()

setTablename

public void setTablename(java.lang.String tablename)

getFileFragment

public java.lang.String getFileFragment(java.lang.String index)
                                 throws TissueInfoNotAvailableException
TissueInfoNotAvailableException

begin

public void begin()
           throws TissueInfoNotAvailableException
Notifies this class that a batch of interaction now begin. Allows specific optimization to be performed.

TissueInfoNotAvailableException

end

public void end()
         throws TissueInfoNotAvailableException
Notifies this class that a batch of interaction now ends. Allows specific optimization to be performed.

TissueInfoNotAvailableException

initConnection

protected void initConnection()
                       throws TissueInfoNotAvailableException
Makes sure a connection is available.

TissueInfoNotAvailableException

getInstance

public static QueryTable getInstance()
                              throws TissueInfoNotAvailableException
TissueInfoNotAvailableException

main

public static void main(java.lang.String[] args)


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.