[MOBY-guts] biomoby commit

Eddie Kawas kawas at pub.open-bio.org
Thu Jun 2 15:50:26 UTC 2005


kawas
Thu Jun  2 11:50:26 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier
In directory pub.open-bio.org:/tmp/cvs-serv15779/org/biomoby/registry/rdfagent/verifier

Modified Files:
	DataMngr.java 
Log Message:
Fixed the javadoc comments in order to get rid of warnings.

moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier DataMngr.java,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/DataMngr.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/registry/rdfagent/verifier/DataMngr.java	2005/04/16 14:32:12	1.4
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/registry/rdfagent/verifier/DataMngr.java	2005/06/02 15:50:26	1.5
@@ -160,16 +160,15 @@
  /** This method use for the  update service_instance table, simple_input/output table,
         *  collection_input/output table, secondary_input table in accordance with data
         *  from RDF file.
-		* @param Hashtable servSign - set of the serviceSignature data (name - value, an example: servicename - GoTerm);
+		* @param servSign - set of the serviceSignature data (name - value, an example: servicename - GoTerm);
 		* Hashtable of hashtables represented by a pair: 
 	    * a name of the input = hashtable for this output 
 		* example:{siminp1={object_type_uri=urn:lsid:biomoby.org:objectclass:Object, namespace_type_uris=urn:lsid:biomoby.org:namespacetype:taxon}}
-        * @param  Hashtable of hashtables represented by a pair: 
+        * @param  servInp - Hashtable of hashtables represented by a pair: 
 	    * a name of the output = hashtable for this output 
 	    * @param servname - the name of service
 	    * @param authURI - the authority URI
 	    * @param signURL - URL of resource
-		* @return .
 		*/
 
 	public static void processService( Hashtable servSign, Hashtable servInp, Hashtable servOut, String servname,String authURI,String signURL){
@@ -582,7 +581,7 @@
 
    /** delete  the service instance  by service name and signature URL
 		* @param servName the name of service which we want delete.
-        * @param rdfURL the authority URI for service which we want delete.
+        * @param signURL the authority URI for service which we want delete.
 		*
 		*/
 
@@ -667,7 +666,7 @@
  /** add the record about new service instance in the service_instance table of mobycentral database
 		* @param servName - the name of service instance the record was added for.
         * @param cat - the category of service instance.
-		* @param servTypeUri - the service type URI of service instance.
+		* @param servTypeURI - the service type URI of service instance.
         * @param authId - the authority Id of service instance.
         * @param url - the URL of service instance.
         * @param email - the contact e-Mail of service instance.
@@ -778,7 +777,6 @@
 		* @param objTypeUri the object type URI of the simple input.
         * @param nsTypeUris the string with set of the nameSpaces for this simple input.
         * @param colInpId the collection input Id if this simple input belongs to a collection, and blank otherwise.
-        * @return ret=1 if the record has added, and ret=-1 otherwise
 		*/
 
 	public static void insIntoSimpleInput(Integer servInstId,String articleName,String objTypeUri,String nsTypeUris,Integer colInpId){
@@ -876,7 +874,6 @@
         * @param max the maximum value of the secondary input
         * @param min the minimum value of the secondary input
     *   * @param enum the enumeration value for the secondary input
-        * @return ret=1 if the record has added, and ret=-1 otherwise
 		*/
 
 	public static void insIntoSecondary(int servInstId,String article_name,String def,String dataType,BigDecimal max,BigDecimal min,String enumeration){
@@ -921,9 +918,8 @@
 			* @param dataType the type of data of the secondary input.
 			* @param max the maximum value of the secondary input
 			* @param min the minimum value of the secondary input
-		    * @param enum the enumeration value for the secondary input
+		    * @param enumeration the enumeration value for the secondary input
 		    * @param minSecNum minimum free number for secondary_input_id
-			* @return ret=1 if the record has added, and ret=-1 otherwise
 			*/
 
 		public static void updateSec(int servInstId,String article_name,String def,String dataType,BigDecimal max,BigDecimal min,String enumeration, int minSecNum){
@@ -968,7 +964,6 @@
 		* @param objTypeUri the object type URI of the simple output.
         * @param nsTypeUris the string with set of the nameSpaces for this simple output.
         * @param colOutId the collection input Id if this simple output belongs to a collection, and blank otherwise.
-        * @return ret=1 if the record has added, and ret=-1 otherwise
 		*/
 
 	public static void insIntoSimpleOutput(Integer servInstId,String articleName,String objTypeUri,String nsTypeUris,Integer colOutId){
@@ -1186,7 +1181,7 @@
 		}
 
  /** get the secondary input data  by the secondary input Id
-     * @param secInpId - the secondary input Id
+     * @param servInstId - the secondary input Id
 	 * @return carrier class Secondary
 	 */
 
@@ -1247,7 +1242,6 @@
 /** get the simple/collection output data  by the service instance Id
  *  and build xml representation 
 		* @param servInstId - the service instance Id
-		* @
 		*/
 
   public static void getSimpleCollectOutput(int servInstId){
@@ -1300,7 +1294,6 @@
 	/** get the simple/collection input data  by the service instance Id
 	 *  and build xml representation 
 			* @param servInstId - the service instance Id
-			* @
 			*/
 
    public static void getSimpleCollectInput(int servInstId){
@@ -1516,7 +1509,7 @@
 	
 	/** get the service instance Id for the given service name and signatureURL
 		 * @param servName - the name of service instance .
-		 * @param signatureURL - URL of resource for the service instance.
+		 * @param signURL - URL of resource for the service instance.
 		 * @return Intrger service instance Id if was found in the database, zero otherwise
 		 */
 
@@ -1646,7 +1639,6 @@
  /** delete a record from simple table  by a service instance Id  and collection_input_id
  * (the metod is working for simple_input/output, collection input/output tables)
      * @param servInstId - the service instance Id.
-	 * @return Intrger ret=1 if the record was deleted, ret=-1 otherwise.
 	 */
 
 	public static void delCollectionMember(String inout, int servInstId){
@@ -1707,7 +1699,8 @@
 				}
 
   /** delete a record from service_instance table  by a servicename and authority Id
-     * @param servInstId - the service instance Id.
+     * @param servName - the service instance name.
+     * @param authId - the id of the authority
 	 * @return Intrger ret=1 if the record was deleted, ret=-1 otherwise.
 	 */
 
@@ -1920,7 +1913,7 @@
 
 
    /** get the service authority Id from service_instance table by the servicename  and signatureURL
-     * @param servName - the name of service
+     * @param serviceName - the name of service
      * @param signURL - the signatureURL for the given service
 	 * @return int authority Id if was found, zero otherwise.
 	 */
@@ -2100,10 +2093,13 @@
 	
 		}
 	
-	/** get the contact e-Mail from service_instance table by the servicename
-		 * @param signURL - the URL of a resource
-		 * @return String contact e-Mail if was found, empty string otherwise.
-		 */
+	/**
+     * 
+     * gets the min number of records with service instance id = 0
+     * @param table
+     * @param key_field
+     * @return the number of records
+	 */
 
 		public static int getMinFreeNumber(String table, String key_field){
 		




More information about the MOBY-guts mailing list