edu.princeton.wordnet.ejb
Class XWnWsdParseLftQueryCommand

java.lang.Object
  extended by edu.princeton.wordnet.ejb.DBQueryCommand
      extended by edu.princeton.wordnet.ejb.XWnWsdParseLftQueryCommand

public class XWnWsdParseLftQueryCommand
extends DBQueryCommand

XWordnet query for wsd,parse,lft

Author:
Bernard Bou

Constructor Summary
XWnWsdParseLftQueryCommand(java.sql.Connection thisConnection)
          Constructor
 
Method Summary
 java.lang.String getDefinition()
          Get the definition from the result set
 java.lang.String getLft()
          Get the lft from the result set
 int getLftQuality()
          Get the lft quality from the result set
 java.lang.String getParse()
          Get the parse from the result set
 int getParseQuality()
          Get the parse quality from the result set
 java.lang.String getText()
          Get the text from the result set
 java.lang.String getWsd()
          Get the wsd from the result set
 void setSynsetId(long thisSynsetId)
          Set synset id 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

XWnWsdParseLftQueryCommand

public XWnWsdParseLftQueryCommand(java.sql.Connection thisConnection)
                           throws javax.naming.NamingException,
                                  java.sql.SQLException
Constructor

Parameters:
thisConnection - is the database connection
Throws:
javax.naming.NamingException
java.sql.SQLException
Method Detail

setSynsetId

public void setSynsetId(long thisSynsetId)
                 throws java.sql.SQLException
Set synset id parameter in prepared SQL statement

Parameters:
thisSynsetId - is the target synsetid
Throws:
java.sql.SQLException

getWsd

public java.lang.String getWsd()
                        throws java.sql.SQLException
Get the wsd from the result set

Returns:
the wsd from the result set
Throws:
java.sql.SQLException

getText

public java.lang.String getText()
                         throws java.sql.SQLException
Get the text from the result set

Returns:
the text from the result set
Throws:
java.sql.SQLException

getParse

public java.lang.String getParse()
                          throws java.sql.SQLException
Get the parse from the result set

Returns:
the parse from the result set
Throws:
java.sql.SQLException

getLft

public java.lang.String getLft()
                        throws java.sql.SQLException
Get the lft from the result set

Returns:
the lft from the result set
Throws:
java.sql.SQLException

getParseQuality

public int getParseQuality()
                    throws java.sql.SQLException
Get the parse quality from the result set

Returns:
the parse quality from the result set
Throws:
java.sql.SQLException

getLftQuality

public int getLftQuality()
                  throws java.sql.SQLException
Get the lft quality from the result set

Returns:
the lft quality from the result set
Throws:
java.sql.SQLException

getDefinition

public java.lang.String getDefinition()
                               throws java.sql.SQLException
Get the definition from the result set

Returns:
the definition from the result set
Throws:
java.sql.SQLException