|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.algernon.test.DBTest
Tests basic delete functionality of Algernon. Example:
java -classpath ${CLASSES}:${PHARMGEN}/lib/protege.jar:${PHARMGEN}/lib/ojdbc14.jar org.algernon.test.DeleteTest
Algernon
Field Summary | |
protected Algernon |
m_algy
|
protected AlgernonKB |
m_kb
|
Constructor Summary | |
DBTest()
|
Method Summary | |
static long |
getCurrentTime()
Returns the current time in milliseconds. |
static long |
getElapsedTime(long startTime)
Returns the elapsed time since the startTime in milliseconds. |
void |
init()
Reads in the parameters and tries to open the KB. |
static void |
main(String[] args)
|
void |
start()
Executes some small code snippets. |
void |
stop()
Halts the program nicely. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected AlgernonKB m_kb
protected Algernon m_algy
Constructor Detail |
public DBTest()
Method Detail |
public static void main(String[] args)
public void init()
public void stop()
public void start()
public static long getCurrentTime()
public static long getElapsedTime(long startTime)
|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |