[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Thu Mar 23 15:11:42 UTC 2006


kawas
Thu Mar 23 10:11:42 EST 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder
In directory pub.open-bio.org:/tmp/cvs-serv10125/org/biomoby/client/rdf/builder

Modified Files:
	RDFConfigure.java 
Log Message:


moby-live/Java/src/main/org/biomoby/client/rdf/builder RDFConfigure.java,1.10,1.11
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/RDFConfigure.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/RDFConfigure.java	2006/03/16 18:11:23	1.10
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/rdf/builder/RDFConfigure.java	2006/03/23 15:11:42	1.11
@@ -333,13 +333,13 @@
 
 	/**
 	 * 
-	 * <b>PRE:</b>myObject is the valid uri for the service instance.
+	 * <b>PRE:</b>lsid is the valid lsid for the service instance.
 	 * <p>
 	 * <b>POST:</b>the rdf representing the service instance is returned.
 	 * <p>
 	 * 
-	 * @param myObject -
-	 *            the uri of the service instance
+	 * @param lsid -
+	 *            the lsid of the service instance
 	 * @return the rdf representation of the service instance.
 	 * @throws IOException
 	 */
@@ -415,6 +415,11 @@
 		return false;
 	}
 
+	/**
+	 * 
+	 * @param lsid the lsid of the object to check existence for
+	 * @return true if the object existed, perhaps under a different LSID revision, false otherwise.
+	 */
 	public final boolean objectExisted(String lsid) {
 		ResIterator rIter = model.listSubjectsWithProperty(RDFS.label);
 		LSID theLsid = null;
@@ -434,6 +439,11 @@
 		return false;
 	}
 
+	/**
+	 * 
+	 * @param lsid the LSID to use as a template for finding the latest LSID
+	 * @return the latest lsid or the empty string if one was not found
+	 */
 	public final String getLatestLSID(String lsid) {
 		ResIterator rIter = model.listSubjectsWithProperty(RDFS.label);
 		LSID theLsid = null;




More information about the MOBY-guts mailing list