[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Wed Jul 20 17:42:31 UTC 2005


kawas
Wed Jul 20 13:42:31 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/vocabulary
In directory pub.open-bio.org:/tmp/cvs-serv25405/org/biomoby/client/rdf/vocabulary

Modified Files:
	Predicates.java MobyResources.java 
Log Message:
Updated the predicates. Moved predicates from MobyResources to Predicates and deprecated MobyResources.java

moby-live/Java/src/main/org/biomoby/client/rdf/vocabulary Predicates.java,1.3,1.4 MobyResources.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/vocabulary/Predicates.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/vocabulary/Predicates.java	2005/07/19 20:46:15	1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/vocabulary/Predicates.java	2005/07/20 17:42:31	1.4
@@ -50,6 +50,11 @@
     public static final Property SignatureURL = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/Predicates#SignatureURL");
     public static final Property authoritative = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/Predicates#authoritative");
     public static final Property ofType = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/Predicates#ofType");
+    /* moved from MobyResources.java */
+    public static final Property Simple = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#Simple");
+    public static final Property Secondary = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#Secondary");
+    public static final Property Collection = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#Collection");
+    
     public final static String getURI() {
         return uri;
     }

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/vocabulary/MobyResources.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/rdf/vocabulary/MobyResources.java	2005/05/31 18:11:08	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/vocabulary/MobyResources.java	2005/07/20 17:42:31	1.3
@@ -13,9 +13,12 @@
  */
 
 /**
+ * @deprecated Replaced by {@link
+ * Predicates}. The reason is that this class was 
+ * redundant and ill conceived. From now on the 
+ * BioMoby predicates, under the namespace moby,
+ * are located in Predicates.java.
  * @author Eddie Kawas
- * <p>Created for
- * <p>This class was created to ...
  * <p>For questions, comments, or bugs
  * <p>email me at edward.kawas at gmail.com
  */
@@ -24,9 +27,29 @@
     private static final String uri = "http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#";
     private static Model _model = ModelFactory.createDefaultModel();
     
+    /**
+     * @deprecated Replaced by {@link
+     * Predicates#Simple}. The reason is that this property
+     * should not be under a different RDF document URI
+     */
     public static final Property SimpleArticle = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#Simple");
+    /**
+     * @deprecated Replaced by {@link
+     * Predicates#articleName}. The reason is that this property
+     * is never utilized and is redundant.
+     */
     public static final Property CollectionArticle = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#articleName");
+    /**
+     * @deprecated Replaced by {@link
+     * Predicates#Secondary}. The reason is that this property
+     * should not be under a different RDF document URI
+     */
     public static final Property SecondaryArticle = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#Secondary");
+    /**
+     * @deprecated Replaced by {@link
+     * Predicates#Collection}. The reason is that this property
+     * should not be under a different RDF document URI
+     */
     public static final Property Collection = _model.getProperty("http://" + properties.getProperty("resources_script_domain")  + "/RESOURCES/MOBY-S/MOBYResources#Collection");
     public final static String getURI() {
         return uri;




More information about the MOBY-guts mailing list