dbpackage
Class TemDb

java.lang.Object
  extended bydbpackage.TemDb

public class TemDb
extends java.lang.Object


Constructor Summary
TemDb()
           
 
Method Summary
 boolean checkForField(java.lang.String tablename, java.lang.String field)
           
 boolean checkForTable(java.lang.String name)
           
 boolean createTable(java.lang.String name, int number)
           
 java.lang.String getAnswer()
           
 boolean insertValues(java.lang.String tablename, java.lang.String key, java.lang.String answer)
           
 java.lang.String retrieveAnswer(java.lang.String tablename, java.lang.String key, java.lang.String colname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemDb

public TemDb()
Method Detail

retrieveAnswer

public java.lang.String retrieveAnswer(java.lang.String tablename,
                                       java.lang.String key,
                                       java.lang.String colname)

insertValues

public boolean insertValues(java.lang.String tablename,
                            java.lang.String key,
                            java.lang.String answer)

createTable

public boolean createTable(java.lang.String name,
                           int number)

checkForField

public boolean checkForField(java.lang.String tablename,
                             java.lang.String field)

checkForTable

public boolean checkForTable(java.lang.String name)

getAnswer

public java.lang.String getAnswer()