Version: 1.1.1

org.biomoby.registry.definitions.types
Class JObjectsSqlImpl

java.lang.Object
  extended by org.biomoby.registry.definitions.types.JObjectsSqlImpl
All Implemented Interfaces:
JObjectsI

public final class JObjectsSqlImpl
extends Object
implements JObjectsI

Author:
Eddie Kawas mySQL implementation of JObjects

email me at edward.kawas@gmail.com


Constructor Summary
JObjectsSqlImpl()
           
 
Method Summary
 String[][] getFullObjectsAsArray()
          method that returns the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), description, the objects lsid, the authority of the creator of the object, the email address of the creator, and the LSID for the relationship this object has with the other object all tab-delimited.
 String getObject(String name)
           
 String getObjects()
          method that returns the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), and description, all tab-delimited.
 String[][] getObjectsAsArray()
          method that returns the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), and description, 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

JObjectsSqlImpl

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

getObjects

public final String getObjects()
Description copied from interface: JObjectsI
method that returns the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), and description, all tab-delimited.

PRE:None.

POST:A string containing the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), and description, all tab-delimited.

Specified by:
getObjects in interface JObjectsI
Returns:
- A string containing the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), and description, all tab-delimited.

getObject

public final String getObject(String name)
Parameters:
name - the name of the object to get information on
Returns:
a tab delimited string containing object, object relationship, object type that this relationship is with, the articlename (if it exists), and description

getObjectsAsArray

public String[][] getObjectsAsArray()
Description copied from interface: JObjectsI
method that returns the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), and description, all tab-delimited.

PRE:None.

POST:A string array containing sub string arrays containing the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), and description, all tab-delimited.

Example of the structure that is returned: [[object type, relationship type, object type relationship is with, articlename, description of the object type]]

note that articlename may not be applicable to all relationship types

Specified by:
getObjectsAsArray in interface JObjectsI
Returns:
A string array, with each item in the array being another string array containing an object type, object relationship, object type that this relationship is with, the articlename (if it exists), and description, all tab-delimited.

getFullObjectsAsArray

public String[][] getFullObjectsAsArray()
method that returns the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), description, the objects lsid, the authority of the creator of the object, the email address of the creator, and the LSID for the relationship this object has with the other object all tab-delimited.

PRE:None.

POST:A string array containing sub string arrays containing the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), description, the objects lsid, the authority of the creator of the object, the email address of the creator, and the LSID for the relationship this object has with the other object all tab-delimited

Example of the structure that is returned: [[object type, relationship type, object type relationship is with, articlename, description of the object type, object lsid, authority, email, lsid of the object this object has a relationship with]]

note that articlename may not be applicable to all relationship types

Returns:
A string array, with each item in the array being another string array containing the various object types, object relationship, object type that this relationship is with, the articlename (if it exists), description, the objects lsid, the authority of the creator of the object, the email address of the creator, and the LSID for the relationship this object has with the other object all tab-delimited.

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