Version: 1.1.1

org.biomoby.registry.definitions.types
Class JNamespacesSqlImpl

java.lang.Object
  extended by org.biomoby.registry.definitions.types.JNamespacesSqlImpl
All Implemented Interfaces:
JNamespaceI

public final class JNamespacesSqlImpl
extends Object
implements JNamespaceI

Author:
Eddie Kawas mySQL implementation of JNamespaceI.

email me at edward.kawas@gmail.com


Constructor Summary
JNamespacesSqlImpl()
           
 
Method Summary
 String[][] getFullNamespacesAsArray()
          Get all the data in the db regrading namespaces.
 String getNamespaces()
          method that returns the various namespace types and descriptions all tab-delimited.
 String[][] getNamespacesAsArray()
          method that returns the various namespace types and descriptions all tab-delimited.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNamespacesSqlImpl

public JNamespacesSqlImpl()
                   throws MobyException
Throws:
MobyException - if database driver cannot be found or there is an database access error.
Method Detail

getNamespaces

public final String getNamespaces()
Description copied from interface: JNamespaceI
method that returns the various namespace types and descriptions all tab-delimited.

PRE:None.

POST:A string containing all of the various namespace types and definitions all tab-delimited.

Specified by:
getNamespaces in interface JNamespaceI
Returns:
- A string containing all of the various namespace types and definitions all tab-delimited.

getNamespacesAsArray

public String[][] getNamespacesAsArray()
Description copied from interface: JNamespaceI
method that returns the various namespace types and descriptions all tab-delimited.

PRE:None.

POST:A string array containing sub string arrays containing all of the various namespace types and definitions all tab-delimited.

Example of the structure that is returned: [[namespace type, description of the namespace]]

Specified by:
getNamespacesAsArray in interface JNamespaceI
Returns:
A string array, with each item in the array being another string array containing a namespace type and definition all tab-delimited.

getFullNamespacesAsArray

public String[][] getFullNamespacesAsArray()
Get all the data in the db regrading namespaces.

Returns:
an array of String[] objects. The String[] consists of {namespace_type, description, namespace_lsid, authority, contact_email}.

main

public static void main(String[] args)
                 throws MobyException
Throws:
MobyException

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010