|
|||||||||
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.LexDomainEnumQueryCommand
class LexDomainEnumQueryCommand
Query for lexdomain enumeration
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 | |
---|---|
LexDomainEnumQueryCommand(java.sql.Connection thisConnection)
Constructor |
Method Summary | |
---|---|
int |
getId()
Get the lexdomain id from the result set |
int |
getPos()
Get the part-of-speech code value from the result set |
java.lang.String |
getPosLexDomainName()
Get the lexdomain name (with pos prefix) from the result set |
static void |
init()
Init data (resources, ...) |
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 LexDomainEnumQueryCommand(java.sql.Connection thisConnection) throws javax.naming.NamingException, java.sql.SQLException
thisConnection
- is the database connection
javax.naming.NamingException
java.sql.SQLException
Method Detail |
---|
public static void init()
public int getId() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getPosLexDomainName() throws java.sql.SQLException
java.sql.SQLException
public int getPos() throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |