|
Sun Message Library for HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stc.hl7.parser.HL7DBConnection
public class HL7DBConnection
This a connection object for the HL7 MS Access database
Constructor Summary | |
---|---|
HL7DBConnection(java.lang.String dbFname)
Constructs HL7DBConnection |
Method Summary | |
---|---|
void |
close()
Closes the database connection |
protected void |
finalize()
Destructor |
java.sql.Connection |
getConn()
Returns the HL7 MS Access database connection |
java.util.ArrayList |
getDbVerList()
Returns the HL7 MS Access database version list |
boolean |
validateVers(java.util.ArrayList verList)
validate the version list against the database version list |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HL7DBConnection(java.lang.String dbFname) throws HL7ParsingException
dbFname
- Database File Name
HL7ParsingException
Method Detail |
---|
protected void finalize() throws java.sql.SQLException
finalize
in class java.lang.Object
java.sql.SQLException
public boolean validateVers(java.util.ArrayList verList) throws HL7ParsingException
HL7ParsingException
- when the hl7 version is not supported by the databasepublic java.sql.Connection getConn()
public java.util.ArrayList getDbVerList()
public void close() throws java.sql.SQLException
java.sql.SQLException
- when problem occurs with the Database interactions
|
Sun Message Library for HL7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |