public class DbSynonym
extends java.lang.Object
History:
SynonymRecord,
Desgin Document | Constructor and Description |
|---|
DbSynonym() |
| Modifier and Type | Method and Description |
|---|---|
static java.sql.PreparedStatement |
GetPreparedStatementBySource(java.lang.String inStr,
java.sql.Connection conn,
int srcType) |
static java.util.Vector<SynonymRecord> |
GetSynonyms(java.lang.String inStr,
java.sql.Connection conn)
Get all synonym records for a specified term from LVG database.
|
static java.util.Vector<SynonymRecord> |
GetSynonymsBySource(java.lang.String inStr,
java.sql.Connection conn,
int srcType)
Get all synonym records for a specified term from LVG database.
|
static void |
main(java.lang.String[] args)
Test driver for this class.
|
public static java.util.Vector<SynonymRecord> GetSynonymsBySource(java.lang.String inStr, java.sql.Connection conn, int srcType) throws java.sql.SQLException
inStr - key form (no punctuation lower case)conn - database connectionsrcType - source typejava.sql.SQLException - if there is a database error happenspublic static java.util.Vector<SynonymRecord> GetSynonyms(java.lang.String inStr, java.sql.Connection conn) throws java.sql.SQLException
inStr - key form (no punctuation lower case)conn - database connectionjava.sql.SQLException - if there is a database error happenspublic static java.sql.PreparedStatement GetPreparedStatementBySource(java.lang.String inStr,
java.sql.Connection conn,
int srcType)
throws java.sql.SQLException
java.sql.SQLExceptionpublic static void main(java.lang.String[] args)
args - arguments Submit a bug or feature
Copyright © 2020 National Library of Medicine