|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.princeton.wordnet.ejb.DBQueryCommand edu.princeton.wordnet.ejb.WordQueryCommand
class WordQueryCommand
Word query command
Field Summary | |
---|---|
private static java.lang.String |
theQuery
theQuery is the SQL statement |
Fields inherited from class edu.princeton.wordnet.ejb.DBQueryCommand |
---|
theResultSet, theStatement |
Constructor Summary | |
---|---|
WordQueryCommand(java.sql.Connection thisConnection)
Constructor |
Method Summary | |
---|---|
int |
getId()
Get the word id from the result set |
java.lang.String |
getLemma()
Get the word lemma from the result set |
(package private) static void |
init()
Init data (resources, ...) |
void |
setLemma(java.lang.String thisLemma)
Set source lemma parameter in prepared statement |
Methods inherited from class edu.princeton.wordnet.ejb.DBQueryCommand |
---|
execute, next, release |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.lang.String theQuery
theQuery
is the SQL statement
Constructor Detail |
---|
public WordQueryCommand(java.sql.Connection thisConnection) throws java.sql.SQLException
thisConnection
- is the database connection
java.sql.SQLException
Method Detail |
---|
static void init()
public void setLemma(java.lang.String thisLemma) throws java.sql.SQLException
thisLemma
- is the word lemma
java.sql.SQLException
public int getId() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getLemma() throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |