[MOBY-guts] biomoby commit

Gary Schiltz gss at pub.open-bio.org
Tue Nov 1 16:28:12 UTC 2005


gss
Tue Nov  1 11:28:12 EST 2005
Update of /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/dev
In directory pub.open-bio.org:/tmp/cvs-serv9543/src/org/semanticmoby/ref/servlets/dev

Modified Files:
	MOBYGraphValidationServlet.java ResourceListServlet.java 
Log Message:
Changes to reflect change of name from Service to Resource

s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/dev MOBYGraphValidationServlet.java,1.4,1.5 ResourceListServlet.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/dev/MOBYGraphValidationServlet.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/dev/MOBYGraphValidationServlet.java	2005/10/09 01:11:21	1.4
+++ /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/dev/MOBYGraphValidationServlet.java	2005/11/01 16:28:12	1.5
@@ -4,9 +4,6 @@
 
 import org.semanticmoby.graph.*;
 
-import org.semanticmoby.parser.NonCanonicalException;
-import org.semanticmoby.parser.Parser;
-
 import org.semanticmoby.ref.servlets.BaseServlet;
 
 import org.semanticmoby.servlet.*;
@@ -35,7 +32,7 @@
             baseModel.read(reader, null);
 
             Parser parser = new Parser(baseModel);
-            parser.parseService();
+            parser.parseResource();
             out.println("Model is canonical");
         } catch (ParameterException e) {
 

===================================================================
RCS file: /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/dev/ResourceListServlet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/dev/ResourceListServlet.java	2005/10/28 04:12:26	1.1
+++ /home/repository/moby/s-moby/ref-impl/semanticmoby.org/src/org/semanticmoby/ref/servlets/dev/ResourceListServlet.java	2005/11/01 16:28:12	1.2
@@ -29,7 +29,7 @@
             Model        dbModel = manager.openDBModel();
             int          count = 0;
             StmtIterator it    =
-                dbModel.listStatements(null, RDF.type, MOBY.Service);
+                dbModel.listStatements(null, RDF.type, MOBY.Resource);
 
             while (it.hasNext()) {
 




More information about the MOBY-guts mailing list