|
||||||||||
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.SynsetsQueryCommand
public class SynsetsQueryCommand
Query command for synsets containing a given word
Constructor Summary | |
---|---|
SynsetsQueryCommand(java.sql.Connection thisConnection)
Constructor |
Method Summary | |
---|---|
int |
getCategoryId()
Get synset category id |
java.lang.String |
getDefinition()
Get synset definition |
java.lang.String |
getSample()
Get sample data |
long |
getSynsetId()
Get synset id |
void |
setWordId(long thisWordId)
Set word 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 SynsetsQueryCommand(java.sql.Connection thisConnection) throws java.sql.SQLException
thisConnection
- is the database connection
java.sql.SQLException
Method Detail |
---|
public void setWordId(long thisWordId) throws java.sql.SQLException
thisWordId
- is the target word id
java.sql.SQLException
public long getSynsetId() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getDefinition() throws java.sql.SQLException
java.sql.SQLException
public int getCategoryId() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getSample() throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |