[MOBY-guts] biomoby commit

senger@ebi.ac.uk senger at pub.open-bio.org
Sat Nov 8 00:27:24 UTC 2003


senger
Fri Nov  7 19:27:24 EST 2003
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory pub.open-bio.org:/tmp/cvs-serv17161/src/main/org/biomoby/client

Modified Files:
	CentralImpl.java ServicesEdge.java 
Added Files:
	FileCache.java FilterServices.java GraphsServlet.java RDF.java 
	ServletFileCache.java SimpleCache.java 
Log Message:
added graphs for exploring biomoby registry

moby-live/Java/src/main/org/biomoby/client FileCache.java,NONE,1.1 FilterServices.java,NONE,1.1 GraphsServlet.java,NONE,1.1 RDF.java,NONE,1.1 ServletFileCache.java,NONE,1.1 SimpleCache.java,NONE,1.1 CentralImpl.java,1.2,1.3 ServicesEdge.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java	2003/10/17 13:13:34	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralImpl.java	2003/11/08 00:27:24	1.3
@@ -625,7 +625,7 @@
     /**************************************************************************
      * The 'retrieveObjectDefinition' method returns something like this;
      *
-     * <registerObjectClass>
+     * <registerObjectDefinition>
      *   <objectType>urn:lsid:biomoby.org:objectclass:go_term</objectType>
      *   <Description><![CDATA[A very lightweight object holding a GO term name and its definition]]></Description>
      *   <authURI>http://www.illuminae.com</authURI>
@@ -637,7 +637,7 @@
      *      <objectType articleName='Term'>urn:lsid:biomoby.org:objectclass:string</objectType>
      *      <objectType articleName='Definition'>urn:lsid:biomoby.org:objectclass:string</objectType>
      *   </Relationship>
-     * </registerObjectClass>
+     * </registerObjectDefinition>
      *
      *************************************************************************/
     public MobyDataType getDataType (String dataTypeName)
@@ -652,7 +652,7 @@
 
 	// parse returned XML
 	Document document = parser.parse (new StringReader (result));
-	NodeList list = document.getElementsByTagName ("registerObjectClass");
+	NodeList list = document.getElementsByTagName ("retrieveObjectDefinition");
 	if (list == null || list.getLength() == 0)
  	    throw new NoSuccessException ("Data Type name was not founnd.",
 					  dataTypeName);

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ServicesEdge.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ServicesEdge.java	2003/10/17 13:13:34	1.1
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ServicesEdge.java	2003/11/08 00:27:24	1.2
@@ -89,6 +89,26 @@
     }
 
     /*************************************************************************
+     * Retrieves the source service.
+     *
+     * @return the source service
+     *
+     *************************************************************************/
+    public MobyService getSourceService() {
+	return sourceService;
+    }
+
+    /*************************************************************************
+     * Retrieves the target service.
+     *
+     * @return the target service
+     *
+     *************************************************************************/
+    public MobyService getTargetService() {
+	return targetService;
+    }
+
+    /*************************************************************************
      * Sets connector.
      *
      * @param connector is a string representing namespace and data




More information about the MOBY-guts mailing list