|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.biomoby.registry.properties.MobyCentralConfig
public class MobyCentralConfig
This class was created to provide a way of querying a users local registry and obtaining information of objects in the BioMoby Ontologies.. If you do not have a local registry, this class will not function correctly.
For questions, comments, or bugs
email me at edward.kawas@gmail.com
Constructor Summary | |
---|---|
MobyCentralConfig()
|
Method Summary | |
---|---|
static Map |
getMobyCentral()
A method that retrieves the mySQL connection details for the database mobycentral. |
static Map |
getMobyNamespace()
A method that retrieves the mySQL connection details for the database mobynamespace. |
static Map |
getMobyObject()
A method that retrieves the mySQL connection details for the database mobyobject. |
static Map |
getMobyRelationship()
A method that retrieves the mySQL connection details for the database mobyrelationship. |
static Map |
getMobyService()
A method that retrieves the mySQL connection details for the database mobyservice. |
static void |
main(String[] args)
a brief test application that outputs the information obtained by calling each of the methods in this class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MobyCentralConfig()
Method Detail |
---|
public static final Map getMobyCentral() throws MobyException
PRE: The property config is specified and configured correctly in the file biomoby.properties.
POST: Map consists of the mySQL connection information for the database mobycentral or MobyException is thrown.
MobyException
- - if biomoby.properties file cannot be found or is incorrectly configured.public static final Map getMobyNamespace() throws MobyException
PRE: The property config is specified and configured correctly in the file biomoby.properties.
POST: Map consists of the mySQL connection information for the database mobynamespace or MobyException is thrown.
MobyException
- - if biomoby.properties file cannot be found or is incorrectly configured.public static final Map getMobyObject() throws MobyException
PRE: The property config is specified and configured correctly in the file biomoby.properties.
POST: Map consists of the mySQL connection information for the database mobyobject or MobyException is thrown.
MobyException
- - if biomoby.properties file cannot be found or is incorrectly configured.public static final Map getMobyService() throws MobyException
PRE: The property config is specified and configured correctly in the file biomoby.properties.
POST: Map consists of the mySQL connection information for the database mobyservice or MobyException is thrown.
MobyException
- - if biomoby.properties file cannot be found or is incorrectly configured.public static final Map getMobyRelationship() throws MobyException
PRE: The property config is specified and configured correctly in the file biomoby.properties.
POST: Map consists of the mySQL connection information for the database mobyrelationship or MobyException is thrown.
MobyException
- - if biomoby.properties file cannot be found or is incorrectly configured.public static void main(String[] args) throws MobyException
MobyException
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |