|
||||||||||
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.VnRoleQueryCommand
public class VnRoleQueryCommand
Query command for VerbNet roles
Constructor Summary | |
---|---|
VnRoleQueryCommand(java.sql.Connection thisConnection)
Constructor |
Method Summary | |
---|---|
long |
getRoleId()
Get the role id from the result set |
int |
getRoleSetId()
Get the role set id from the result set |
java.lang.String |
getRoleType()
Get the role type from the result set |
java.lang.String |
getSelectionRestriction()
Get the role selectional restriction from the result set |
boolean |
getSynsetSpecific()
Get synset-specific flag from the result set |
void |
setIds(long thisWordId,
long thisSynsetId)
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 VnRoleQueryCommand(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 setIds(long thisWordId, long thisSynsetId) throws java.sql.SQLException
thisWordId
- is the target wordidthisSynsetId
- is the target synsetid
java.sql.SQLException
public long getRoleId() throws java.sql.SQLException
java.sql.SQLException
public int getRoleSetId() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getRoleType() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getSelectionRestriction() throws java.sql.SQLException
java.sql.SQLException
public boolean getSynsetSpecific() throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |