edu.mayo.informatics.lexgrid.convert.formats.outputFormats
Class RegisterLexGridTerminology
java.lang.Object
edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
edu.mayo.informatics.lexgrid.convert.formats.baseFormats.SQLBase
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
description
public static final java.lang.String description
- See Also:
- Constant Field Values
RegisterLexGridTerminology
public RegisterLexGridTerminology(java.lang.String username,
java.lang.String password,
java.lang.String server,
java.lang.String driver)
RegisterLexGridTerminology
public RegisterLexGridTerminology()
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.