LexAccess Java
2006 Version

gov.nih.nlm.nls.lexAccess.Db
Class DbInflVars

java.lang.Object
  extended by gov.nih.nlm.nls.lexAccess.Db.DbInflVars

public class DbInflVars
extends java.lang.Object

This class provides interfaces to InflVars tables in database.

History:

Version:
V-2006
Author:
NLM NLS Development Team

Constructor Summary
DbInflVars()
           
 
Method Summary
static java.util.Vector<java.lang.String> GetEuis(java.sql.Connection conn, java.lang.String inflVar)
          Get Eui (Entry Unique Identifier) for a specific inflected term from database.
static java.util.Vector<java.lang.String> GetUniqueEuisByInflVar(java.sql.Connection conn, java.lang.String inflVar)
          Get unique Eui (Entry Unique Identifier) for a specific inflected term from database.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbInflVars

public DbInflVars()
Method Detail

GetEuis

public static java.util.Vector<java.lang.String> GetEuis(java.sql.Connection conn,
                                                         java.lang.String inflVar)
                                                  throws java.sql.SQLException
Get Eui (Entry Unique Identifier) for a specific inflected term from database.

Parameters:
conn - database connection
inflVar - inflected variable
Returns:
Vector Euis
Throws:
java.sql.SQLException - if there is a database error happens

GetUniqueEuisByInflVar

public static java.util.Vector<java.lang.String> GetUniqueEuisByInflVar(java.sql.Connection conn,
                                                                        java.lang.String inflVar)
                                                                 throws java.sql.SQLException
Get unique Eui (Entry Unique Identifier) for a specific inflected term from database. Some inflected terms has same Euis. This method returns only one Eui (if they are the same) in the returned Vector.

Parameters:
conn - database connection
inflVar - inflected variable
Returns:
Vector Euis
Throws:
java.sql.SQLException - if there is a database error happens

main

public static void main(java.lang.String[] args)

LexAccess Java
2006 Version

Submit a bug or feature

Copyright © 2006 National Library of Medicine