edu.mayo.informatics.lexgrid.convert.formats.inputFormats
Class HL7SQL

java.lang.Object
  extended by edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
      extended by edu.mayo.informatics.lexgrid.convert.formats.baseFormats.URIBase
          extended by edu.mayo.informatics.lexgrid.convert.formats.inputFormats.HL7SQL
All Implemented Interfaces:
InputFormatInterface

public class HL7SQL
extends URIBase
implements InputFormatInterface

SQL default elements for MSACCESS

Author:
Scott Bauer

Field Summary
static java.lang.String description
           
 java.lang.String filePath
           
static java.lang.String MSACCESS_DRIVER
           
static java.lang.String MSACCESS_SERVER
           
 
Fields inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.URIBase
fileLocation
 
Fields inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
codingSchemeManifest
 
Constructor Summary
HL7SQL()
           
HL7SQL(java.lang.String fileLocation)
           
 
Method Summary
 java.lang.String[] getAvailableTerminologies()
           
 java.lang.String getConnectionSummary()
          Get a summary of the connection parameters.
 URNVersionPair getCurrentCodingScheme()
           
 java.lang.String getDescription()
          Get the description of the input type.
 java.lang.String getDriver()
           
 Option[] getOptions()
          Get the additional options that must be supplied before the reading can happen.
 java.lang.String getPath()
           
 java.lang.String getServer()
           
 java.lang.String[] getSupportedOutputFormats()
          Get the supported Output formats for this input format.
 void setCurrentCodingScheme(URNVersionPair codingScheme)
           
 java.lang.String testConnection()
          See if the provided parameters make a valid connection
 
Methods inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.URIBase
getConnectionSummary, getFileLocation, setFileLocation
 
Methods inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
getCodingSchemeManifest, getLoaderPreferences, getManifestLocation, setCodingSchemeManifest, setLoaderPreferences, setManifestLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filePath

public java.lang.String filePath

description

public static final java.lang.String description
See Also:
Constant Field Values

MSACCESS_SERVER

public static final java.lang.String MSACCESS_SERVER
See Also:
Constant Field Values

MSACCESS_DRIVER

public static final java.lang.String MSACCESS_DRIVER
See Also:
Constant Field Values
Constructor Detail

HL7SQL

public HL7SQL(java.lang.String fileLocation)

HL7SQL

public HL7SQL()
Method Detail

getAvailableTerminologies

public java.lang.String[] getAvailableTerminologies()
                                             throws ConnectionFailure,
                                                    UnexpectedError
Specified by:
getAvailableTerminologies in interface InputFormatInterface
Throws:
ConnectionFailure
UnexpectedError

getConnectionSummary

public java.lang.String getConnectionSummary()
Description copied from interface: InputFormatInterface
Get a summary of the connection parameters.

Specified by:
getConnectionSummary in interface InputFormatInterface
Returns:
the summary.

getDescription

public java.lang.String getDescription()
Description copied from interface: InputFormatInterface
Get the description of the input type.

Specified by:
getDescription in interface InputFormatInterface
Returns:

getCurrentCodingScheme

public URNVersionPair getCurrentCodingScheme()

setCurrentCodingScheme

public void setCurrentCodingScheme(URNVersionPair codingScheme)

getOptions

public Option[] getOptions()
Description copied from interface: InputFormatInterface
Get the additional options that must be supplied before the reading can happen.

Specified by:
getOptions in interface InputFormatInterface
Returns:

getSupportedOutputFormats

public java.lang.String[] getSupportedOutputFormats()
Description copied from interface: InputFormatInterface
Get the supported Output formats for this input format.

Specified by:
getSupportedOutputFormats in interface InputFormatInterface
Returns:

testConnection

public java.lang.String testConnection()
                                throws ConnectionFailure
Description copied from interface: InputFormatInterface
See if the provided parameters make a valid connection

Specified by:
testConnection in interface InputFormatInterface
Overrides:
testConnection in class URIBase
Returns:
An optional warning about the connection - for example, SQL implementations may want to return a warning if the existing sql tables are a different version than what is expected.
Throws:
ConnectionFailure - If a connection can't be made.

getPath

public java.lang.String getPath()

getDriver

public java.lang.String getDriver()

getServer

public java.lang.String getServer()

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.