[MOBY-guts] biomoby commit

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


kawas
Thu Mar 23 10:16:56 EST 2006
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types
In directory pub.open-bio.org:/tmp/cvs-serv10179/org/biomoby/registry/definitions/types

Modified Files:
	JObjectsSqlImpl.java 
Log Message:


moby-live/Java/src/main/org/biomoby/registry/definitions/types JObjectsSqlImpl.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjectsSqlImpl.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/registry/definitions/types/JObjectsSqlImpl.java	2006/03/15 16:22:37	1.2
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/definitions/types/JObjectsSqlImpl.java	2006/03/23 15:16:56	1.3
@@ -195,7 +195,36 @@
 
 	/**
 	 * 
-	 * @return
+	 * method that returns the various object types, object relationship, object
+	 * type that this relationship is with, the articlename (if it exists),
+	 * description, the objects lsid, the authority of the creator of the
+	 * object, the email address of the creator, and the LSID for the
+	 * relationship this object has with the other object all tab-delimited.
+	 * <p>
+	 * <b>PRE:</b>None.
+	 * <p>
+	 * <b>POST:</b>A string array containing sub string arrays containing the
+	 * various object types, object relationship, object type that this
+	 * relationship is with, the articlename (if it exists), description, the
+	 * objects lsid, the authority of the creator of the object, the email
+	 * address of the creator, and the LSID for the relationship this object has
+	 * with the other object all tab-delimited
+	 * <p>
+	 * Example of the structure that is returned: [[object type, relationship
+	 * type, object type relationship is with, articlename, description of the
+	 * object type, object lsid, authority, email, lsid of the object this
+	 * object has a relationship with]]
+	 * <p>
+	 * <b><i>note that articlename may not be applicable to all relationship
+	 * types</i></b>
+	 * 
+	 * @return A string array, with each item in the array being another string
+	 *         array containing the various object types, object relationship,
+	 *         object type that this relationship is with, the articlename (if
+	 *         it exists), description, the objects lsid, the authority of the
+	 *         creator of the object, the email address of the creator, and the
+	 *         LSID for the relationship this object has with the other object
+	 *         all tab-delimited.
 	 */
 	public String[][] getFullObjectsAsArray() {
 		ArrayList sb = new ArrayList();
@@ -228,6 +257,7 @@
 		sb.toArray(array);
 		return array;
 	}
+
 	public static void main(String[] args) throws MobyException {
 		String[][] datatypes = new JObjectsSqlImpl().getFullObjectsAsArray();
 		for (int i = 0; i < datatypes.length; i++) {




More information about the MOBY-guts mailing list