|
||||||||||
| 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.TypedSynsetsQueryCommand
public class TypedSynsetsQueryCommand
Query command for synsets of a given part-of-speech or category type and containing a given word
| Constructor Summary | |
|---|---|
TypedSynsetsQueryCommand(java.sql.Connection thisConnection,
boolean categoryBased)
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 |
setCategoryType(int thisType)
Set category type parameter in prepared SQL statement |
void |
setPosType(int thisType)
Set part-of-speech type parameter in prepared SQL statement |
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 TypedSynsetsQueryCommand(java.sql.Connection thisConnection,
boolean categoryBased)
throws java.sql.SQLException
thisConnection - is the database connectioncategoryBased - is whether the query is category based
java.sql.SQLException| Method Detail |
|---|
public void setWordId(long thisWordId)
throws java.sql.SQLException
thisWordId - is the target word
java.sql.SQLException
public void setPosType(int thisType)
throws java.sql.SQLException
thisType - is the target part-of-speech type
java.sql.SQLException
public void setCategoryType(int thisType)
throws java.sql.SQLException
thisType - is the target category type
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 | |||||||||