|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.princeton.wordnet.ejb.DBQueryCommand
edu.princeton.wordnet.ejb.XWnQueryCommand
public class XWnQueryCommand
XWordNet query command
Constructor Summary | |
---|---|
XWnQueryCommand(java.sql.Connection thisConnection)
Constructor |
Method Summary | |
---|---|
int |
getCategoryId()
Get synset category id |
java.lang.String |
getDefinition()
Get synset definition |
java.lang.String |
getPos()
Get synset part-of-speech |
java.lang.String |
getSample()
Get sample data |
long |
getSynsetId()
Get the synset id from the result set |
java.lang.String |
getText()
Get the text from the result set |
long |
getWordId()
Get the word id from the result set |
void |
setLemma(java.lang.String thisLemma)
Set synset parameter in prepared SQL statement |
Methods inherited from class edu.princeton.wordnet.ejb.DBQueryCommand |
---|
execute, next, release |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XWnQueryCommand(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 void setLemma(java.lang.String thisLemma) throws java.sql.SQLException
thisLemma
- is the target word
java.sql.SQLException
public long getWordId() throws java.sql.SQLException
java.sql.SQLException
public long getSynsetId() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getPos() throws java.sql.SQLException
java.sql.SQLException
public int getCategoryId() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getDefinition() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getSample() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getText() throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |