edu.mayo.informatics.lexgrid.convert.formats.outputFormats
Class RegisterLexGridTerminology

java.lang.Object
  extended by edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
      extended by edu.mayo.informatics.lexgrid.convert.formats.baseFormats.SQLBase
          extended by edu.mayo.informatics.lexgrid.convert.formats.outputFormats.RegisterLexGridTerminology
All Implemented Interfaces:
OutputFormatInterface
Direct Known Subclasses:
RegisterLexGridTerminologySWT

public class RegisterLexGridTerminology
extends SQLBase
implements OutputFormatInterface

Details for registering a terminology with the LexGrid Services Index.

Version:
subversion $Revision: 258 $ checked in on $Date: 2005-11-15 11:11:26 -0600 (Tue, 15 Nov 2005) $
Author:
Dan Armbrust

Field Summary
static java.lang.String description
           
 
Fields inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.SQLBase
driver, password, server, tablePrefix, username
 
Fields inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
codingSchemeManifest
 
Constructor Summary
RegisterLexGridTerminology()
           
RegisterLexGridTerminology(java.lang.String username, java.lang.String password, java.lang.String server, java.lang.String driver)
           
 
Method Summary
 java.lang.String getConnectionSummary()
          Get a summary of the connection parameters.
 java.lang.String getDescription()
          The description of the output type.
 Option[] getOptions()
           
 java.lang.String testConnection()
          See if the provided parameters make a valid connection
 
Methods inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.SQLBase
getConnectionSummary, getDriver, getPassword, getServer, getTablePrefix, getUsername
 
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

description

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

RegisterLexGridTerminology

public RegisterLexGridTerminology(java.lang.String username,
                                  java.lang.String password,
                                  java.lang.String server,
                                  java.lang.String driver)

RegisterLexGridTerminology

public RegisterLexGridTerminology()
Method Detail

getConnectionSummary

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

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

getDescription

public java.lang.String getDescription()
Description copied from interface: OutputFormatInterface
The description of the output type.

Specified by:
getDescription in interface OutputFormatInterface
Returns:

getOptions

public Option[] getOptions()
Specified by:
getOptions in interface OutputFormatInterface

testConnection

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

Specified by:
testConnection in interface OutputFormatInterface
Overrides:
testConnection in class SQLBase
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.

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.