|
|||||||||
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.TypedLinksQueryCommand
class TypedLinksQueryCommand
Query command for synsets linked through a given relation type
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 | |
---|---|
TypedLinksQueryCommand(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 thisSynset)
Set source synset parameter in prepared statement |
void |
setFromWord(long thisWordId)
Set source word parameter in prepared statement |
void |
setLinkType(int thisType)
Set source type 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 TypedLinksQueryCommand(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 thisSynset) throws java.sql.SQLException
thisSynset
- is the source synset id
java.sql.SQLException
public void setFromWord(long thisWordId) throws java.sql.SQLException
thisWordId
- is the source word id (for lexical links)
java.sql.SQLException
public void setLinkType(int thisType) throws java.sql.SQLException
thisType
- is the target synset 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 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 |