edu.princeton.wordnet.ejb
Class LinkEnumQueryCommand

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

public class LinkEnumQueryCommand
extends DBQueryCommand

Query for a link enumeration

Author:
Bernard Bou

Constructor Summary
LinkEnumQueryCommand(java.sql.Connection thisConnection)
          Constructor
 
Method Summary
 int getId()
          Get the id from the result set
 java.lang.String getName()
          Get the name from the result set
 boolean getRecurse()
          Get the recurse capability from the result set
 
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

LinkEnumQueryCommand

public LinkEnumQueryCommand(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

getId

public int getId()
          throws java.sql.SQLException
Get the id from the result set

Returns:
the link id value from the result set
Throws:
java.sql.SQLException

getName

public java.lang.String getName()
                         throws java.sql.SQLException
Get the name from the result set

Returns:
the link name value from the result set
Throws:
java.sql.SQLException

getRecurse

public boolean getRecurse()
                   throws java.sql.SQLException
Get the recurse capability from the result set

Returns:
the link recurse capability value from the result set
Throws:
java.sql.SQLException