[MOBY-guts] biomoby commit

Martin Senger senger at pub.open-bio.org
Mon Sep 19 08:08:32 UTC 2005


senger
Mon Sep 19 04:08:32 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/config/templates
In directory pub.open-bio.org:/tmp/cvs-serv29075/src/config/templates

Modified Files:
	DataTypeTemplate.java MembersHASTemplate.java 
	MethodsHASTemplate.java MethodsHAS_string_Template.java 
	ServicePISetTemplate.java ServicePISimpleTemplate.java 
	ServicePOSetTemplate.java ServicePOSimpleTemplate.java 
	ServiceParameterTemplate.java ServiceSkeletonTemplate.java 
	ToStringHASTemplate.java ToXMLHASTemplate.java 
Log Message:
caching also namespaces

moby-live/Java/src/config/templates DataTypeTemplate.java,1.1,1.2 MembersHASTemplate.java,1.1,1.2 MethodsHASTemplate.java,1.1,1.2 MethodsHAS_string_Template.java,1.1,1.2 ServicePISetTemplate.java,1.1,1.2 ServicePISimpleTemplate.java,1.1,1.2 ServicePOSetTemplate.java,1.1,1.2 ServicePOSimpleTemplate.java,1.1,1.2 ServiceParameterTemplate.java,1.1,1.2 ServiceSkeletonTemplate.java,1.1,1.2 ToStringHASTemplate.java,1.1,1.2 ToXMLHASTemplate.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/DataTypeTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/DataTypeTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/DataTypeTemplate.java	2005/09/19 08:08:32	1.2
@@ -6,11 +6,6 @@
 
 package org.biomoby.shared.datatypes;
 
-import org.biomoby.shared.MobyException;
-import org.jdom.Element;
-import java.util.Vector;
-import java.util.Enumeration;
-
 /**
  * <b>Data type name:</b> @DATATYPE at . <br>
  * <b>Authority:</b> @AUTHORITY@ <br>
@@ -57,8 +52,8 @@
     /**************************************************************************
      *
      *************************************************************************/
-    public Element toXML() {
-	Element elem_I_am_sorry_that_this_produces_a_warning = super.toXML();
+    public org.jdom.Element toXML() {
+	org.jdom.Element elem_I_am_sorry_that_this_produces_a_warning = super.toXML();
 	elem_I_am_sorry_that_this_produces_a_warning.setName (DATA_TYPE_NAME);
 @TO_XML@
 	return elem_I_am_sorry_that_this_produces_a_warning;

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/MembersHASTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/MembersHASTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/MembersHASTemplate.java	2005/09/19 08:08:32	1.2
@@ -1,5 +1,5 @@
     /** An article name for a member of this object. */
     public static final String ARTICLE_NAME_ at ESC_UPPER_ARTICLE_NAME@ = "@ARTICLE_NAME@";
     // elements are of type @CHILDTYPE_NAME@
-    protected Vector @ESC_ARTICLE_NAME@ = new Vector();
+    protected java.util.Vector @ESC_ARTICLE_NAME@ = new java.util.Vector();
 

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/MethodsHASTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/MethodsHASTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/MethodsHASTemplate.java	2005/09/19 08:08:32	1.2
@@ -19,7 +19,7 @@
      * only one value
      *************************************************************************/
     public void set_ at ESC_ARTICLE_NAME@ (@CHILDTYPE_NAME@[] value) {
-	this. at ESC_ARTICLE_NAME@ = new Vector();
+	this. at ESC_ARTICLE_NAME@ = new java.util.Vector();
 	for (int i = 0; i < value.length; i++)
 	    set_ at ESC_ARTICLE_NAME@ (value[i]);
     }

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/MethodsHAS_string_Template.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/MethodsHAS_string_Template.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/MethodsHAS_string_Template.java	2005/09/19 08:08:32	1.2
@@ -21,7 +21,7 @@
      * only one value
      *************************************************************************/
     public void set_ at ESC_ARTICLE_NAME@ (String[] value) {
-	this. at ESC_ARTICLE_NAME@ = new Vector();
+	this. at ESC_ARTICLE_NAME@ = new java.util.Vector();
 	for (int i = 0; i < value.length; i++)
 	    set_ at ESC_ARTICLE_NAME@ (value[i]);
     }

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/ServicePISetTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/ServicePISetTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/ServicePISetTemplate.java	2005/09/19 08:08:32	1.2
@@ -3,10 +3,10 @@
      *
      * @param request represents input data coming from a client
      * @return a type specific object (that is known to this service)
-     * @throws MobyException if something goes wrong
+     * @throws org.biomoby.shared.MobyException if something goes wrong
      *************************************************************************/
     public @DATATYPE@[] get_ at ESC_ARTICLE_NAME@Set (MobyJob request)
-	throws MobyException {
+	throws org.biomoby.shared.MobyException {
 	return (@DATATYPE@[])request.getDataSet ("@ARTICLE_NAME@", "@DATATYPE@");
     }
 

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/ServicePISimpleTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/ServicePISimpleTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/ServicePISimpleTemplate.java	2005/09/19 08:08:32	1.2
@@ -3,9 +3,9 @@
      *
      * @param request represents input data coming from a client
      * @return a type specific object (that is known to this service)
-     * @throws MobyException if something goes wrong
+     * @throws org.biomoby.shared.MobyException if something goes wrong
      *************************************************************************/
     public @DATATYPE@ get_ at ESC_ARTICLE_NAME@ (MobyJob request)
-	throws MobyException {
+	throws org.biomoby.shared.MobyException {
 	return (@DATATYPE@)request.getData ("@ARTICLE_NAME@", "@DATATYPE@");
     }

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/ServicePOSetTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/ServicePOSetTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/ServicePOSetTemplate.java	2005/09/19 08:08:32	1.2
@@ -3,10 +3,10 @@
      *
      * @param response represents output data that will go to a client
      * @param values is to be stored in the 'response'
-     * @throws MobyException if something goes wrong
+     * @throws org.biomoby.shared.MobyException if something goes wrong
      *************************************************************************/
     public void set_ at ESC_ARTICLE_NAME@Set (MobyJob response, @DATATYPE@[] values)
-	throws MobyException {
+	throws org.biomoby.shared.MobyException {
 	response.setDataSet (values, "@ARTICLE_NAME@");
     }
 

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/ServicePOSimpleTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/ServicePOSimpleTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/ServicePOSimpleTemplate.java	2005/09/19 08:08:32	1.2
@@ -3,10 +3,10 @@
      *
      * @param response represents output data that will go to a client
      * @param value is to be stored in the 'response'
-     * @throws MobyException if something goes wrong
+     * @throws org.biomoby.shared.MobyException if something goes wrong
      *************************************************************************/
     public void set_ at ESC_ARTICLE_NAME@ (MobyJob response, @DATATYPE@ value)
-	throws MobyException {
+	throws org.biomoby.shared.MobyException {
 	response.setData (value, "@ARTICLE_NAME@");
     }
 

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/ServiceParameterTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/ServiceParameterTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/ServiceParameterTemplate.java	2005/09/19 08:08:32	1.2
@@ -4,10 +4,10 @@
      *
      * @param request represents input data coming from a client
      * @return value of a "secondary" parameter
-     * @throws MobyException if something goes wrong
+     * @throws org.biomoby.shared.MobyException if something goes wrong
      *************************************************************************/
     public String getParameter_ at ESC_ARTICLE_NAME@ (MobyJob request)
-	throws MobyException {
+	throws org.biomoby.shared.MobyException {
 	return request.getParameter ("@ARTICLE_NAME@");
     }
 

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/ServiceSkeletonTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/ServiceSkeletonTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/ServiceSkeletonTemplate.java	2005/09/19 08:08:32	1.2
@@ -4,8 +4,6 @@
 package @PACKAGE_NAME@;
 
 import org.biomoby.service.BaseService;
-import org.biomoby.shared.MobyException;
-import org.biomoby.shared.parser.MobyParameter;
 import org.biomoby.shared.parser.MobyJob;
 import org.biomoby.shared.parser.MobyPackage;
 import org.biomoby.shared.datatypes.*;
@@ -61,7 +59,7 @@
 	    // and return an XML back
 	    return mobyOutput.toXML();
 
-	} catch (MobyException e) {
+	} catch (org.biomoby.shared.MobyException e) {
 	    return error (e.getMessage(), mobyOutput);
 	}
     }

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/ToStringHASTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/ToStringHASTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/ToStringHASTemplate.java	2005/09/19 08:08:32	1.2
@@ -1,2 +1,2 @@
-	for (Enumeration en = @ESC_ARTICLE_NAME at .elements(); en.hasMoreElements(); )
+	for (java.util.Enumeration en = @ESC_ARTICLE_NAME at .elements(); en.hasMoreElements(); )
 	    buf_I_am_sorry_that_this_produces_a_warning.append ( ((@CHILDTYPE_NAME@)en.nextElement()).format (1) );

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/config/templates/ToXMLHASTemplate.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/config/templates/ToXMLHASTemplate.java	2005/08/26 06:27:03	1.1
+++ /home/repository/moby/moby-live/Java/src/config/templates/ToXMLHASTemplate.java	2005/09/19 08:08:32	1.2
@@ -1,2 +1,2 @@
-	for (Enumeration en = @ESC_ARTICLE_NAME at .elements(); en.hasMoreElements(); )
+	for (java.util.Enumeration en = @ESC_ARTICLE_NAME at .elements(); en.hasMoreElements(); )
 	    elem_I_am_sorry_that_this_produces_a_warning.addContent ( ((@CHILDTYPE_NAME@)en.nextElement()).toXML() );




More information about the MOBY-guts mailing list