[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Mon Aug 29 20:22:32 UTC 2005


kawas
Mon Aug 29 16:22:32 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder
In directory pub.open-bio.org:/tmp/cvs-serv15332/org/biomoby/client/rdf/builder

Modified Files:
	ServiceInstanceRDF.java RDFConfigure.java 
Log Message:
changed moby URIs

moby-live/Java/src/main/org/biomoby/client/rdf/builder ServiceInstanceRDF.java,1.6,1.7 RDFConfigure.java,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/ServiceInstanceRDF.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/ServiceInstanceRDF.java	2005/07/26 14:57:07	1.6
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/ServiceInstanceRDF.java	2005/08/29 20:22:32	1.7
@@ -62,25 +62,15 @@
      */
     private static Properties properties = MobyProperties.PROPERTIES();
 
-    private static final String OBJ = "http://"
-            + properties.getProperty("resources_script_domain")
-            + "/RESOURCES/MOBY-S/Objects#";
-
-    private static final String SRV = "http://"
-            + properties.getProperty("resources_script_domain")
-            + "/RESOURCES/MOBY-S/Services#";
-
-    private static final String NS = "http://"
-            + properties.getProperty("resources_script_domain")
-            + "/RESOURCES/MOBY-S/Namespaces#";
-
-    private static final String MP = "http://"
-            + properties.getProperty("resources_script_domain")
-            + "/RESOURCES/MOBY-S/Predicates#";
-
-    private static final String SI = "http://"
-            + properties.getProperty("resources_script_domain")
-            + "/RESOURCES/MOBY-S/ServiceInstances#";
+    private static final String OBJ = "http://biomoby.org/RESOURCES/MOBY-S/Objects#";
+
+    private static final String SRV = "http://biomoby.org/RESOURCES/MOBY-S/Services#";
+
+    private static final String NS = "http://biomoby.org/RESOURCES/MOBY-S/Namespaces#";
+
+    private static final String MP = "http://biomoby.org/RESOURCES/MOBY-S/Predicates#";
+
+    private static final String SI = "http://biomoby.org/RESOURCES/MOBY-S/ServiceInstances#";
 
     // the endpoint for the test server
     private final static String TEST_URL = properties.getProperty("test_url");
@@ -264,7 +254,7 @@
         Model model = ModelFactory.createDefaultModel();
         // set up the prefixes/namespaces
         Map map = model.getNsPrefixMap();
-        map.put("mobyPred", Predicates.getURI());
+        map.put("moby", Predicates.getURI());
         map.put("mobyObject", OBJ);
         map.put("serviceInstances", SI);
         map.put("mobyNamespace", NS);

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/RDFConfigure.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/RDFConfigure.java	2005/07/26 14:56:19	1.4
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/RDFConfigure.java	2005/08/29 20:22:32	1.5
@@ -45,15 +45,15 @@
     /*
      * Some constants for use in the rdfs
      */
-    final public static String URI_OBJECT = "http://" + properties.getProperty("resources_script_domain") +"/RESOURCES/MOBY-S/Objects#";
+    final public static String URI_OBJECT = "http://biomoby.org/RESOURCES/MOBY-S/Objects#";
 
-    final public static String URI_SERVICE = "http://" + properties.getProperty("resources_script_domain") +"/RESOURCES/MOBY-S/Services#";
+    final public static String URI_SERVICE = "http://biomoby.org/RESOURCES/MOBY-S/Services#";
 
-    final public static String URI_NAMESPACE = "http://" + properties.getProperty("resources_script_domain") +"/RESOURCES/MOBY-S/Namespaces#";
+    final public static String URI_NAMESPACE = "http://biomoby.org/RESOURCES/MOBY-S/Namespaces#";
 
-    final public static String URI_PREDICATE = "http://" + properties.getProperty("resources_script_domain") +"/RESOURCES/MOBY-S/Predicates#";
+    final public static String URI_PREDICATE = "http://biomoby.org/RESOURCES/MOBY-S/Predicates#";
 
-    final public static String URI_ServiceINSTANCE = "http://" + properties.getProperty("resources_script_domain") +"/RESOURCES/MOBY-S/ServiceInstances#";
+    final public static String URI_ServiceINSTANCE = "http://biomoby.org/RESOURCES/MOBY-S/ServiceInstances#";
 
     private Model model = null;
 




More information about the MOBY-guts mailing list