|
|||||||||
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.LinksQueryCommand
class LinksQueryCommand
Query command for linked synsets
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 | |
---|---|
LinksQueryCommand(java.sql.Connection thisConnection)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getDefinition()
Get synset definition |
long |
getFromSynset()
Get source synset id |
int |
getLexDomainId()
Get synset lexdomain id |
int |
getLinkType()
Get link type |
java.lang.String |
getSample()
Get sample data |
long |
getSynsetId()
Get synset id |
(package private) static void |
init()
Init data (resources, ...) |
void |
setFromSynset(long thisSynsetId)
Set source synset parameter in prepared statement |
void |
setFromWord(long thisWordId)
Set source word 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 LinksQueryCommand(java.sql.Connection thisConnection) throws java.sql.SQLException
thisConnection
- is the database connection
java.sql.SQLException
Method Detail |
---|
static void init()
public void setFromSynset(long thisSynsetId) throws java.sql.SQLException
thisSynsetId
- is the synset id
java.sql.SQLException
public void setFromWord(long thisWordId) throws java.sql.SQLException
thisWordId
- is the 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 getLexDomainId() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getSample() throws java.sql.SQLException
java.sql.SQLException
public int getLinkType() throws java.sql.SQLException
java.sql.SQLException
public long getFromSynset() throws java.sql.SQLException
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |