[MOBY-guts] biomoby commit

Andreas Groscurth groscurt at dev.open-bio.org
Wed Dec 17 10:21:57 UTC 2008


groscurt
Wed Dec 17 05:21:57 EST 2008
Update of /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test
In directory dev.open-bio.org:/tmp/cvs-serv5054/src/main/de/mpg/mpiz_koeln/featureClient/test

Modified Files:
	SimpleSingleCall.java SingleCallWithParameters.java 
	MultiCallWithParameters.java MultiCallByDefinition.java 
	ComplexSingleCall.java SimpleMultiCall.java 
	SingleMultiServiceCall.java 
Log Message:

moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test SimpleSingleCall.java,1.1,1.2 SingleCallWithParameters.java,1.1,1.2 MultiCallWithParameters.java,1.1,1.2 MultiCallByDefinition.java,1.1,1.2 ComplexSingleCall.java,1.1,1.2 SimpleMultiCall.java,1.1,1.2 SingleMultiServiceCall.java,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SimpleSingleCall.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SimpleSingleCall.java	2008/11/26 08:52:20	1.1
+++ /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SimpleSingleCall.java	2008/12/17 10:21:56	1.2
@@ -1,7 +1,6 @@
 package de.mpg.mpiz_koeln.featureClient.test;
 
 import java.util.Collection;
-import java.util.List;
 
 import org.biomoby.shared.MobyException;
 import org.biomoby.shared.datatypes.MobyObject;
@@ -19,7 +18,7 @@
         client.setTimeout( 45 );
         client.addService( "mpiz-koeln.mpg.de", "ID2IDs" );
         client.setServiceInputSingleCall( "", "NP_176539.1" );
-        List< FeatureClientResult > result = client.call();
+        Collection< FeatureClientResult > result = client.call();
 
         for ( FeatureClientResult mobyServiceResult : result ) {
             Collection< MobyObject > collection = mobyServiceResult.getSingleCallResult();

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SingleCallWithParameters.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SingleCallWithParameters.java	2008/11/26 08:52:20	1.1
+++ /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SingleCallWithParameters.java	2008/12/17 10:21:56	1.2
@@ -1,7 +1,6 @@
 package de.mpg.mpiz_koeln.featureClient.test;
 
 import java.util.Collection;
-import java.util.List;
 
 import org.biomoby.shared.MobyException;
 import org.biomoby.shared.datatypes.AminoAcidSequence;
@@ -38,7 +37,7 @@
 
         client.setServiceInputSingleCall( organism, sequence, geneName );
 
-        List< FeatureClientResult > result = client.call();
+        Collection < FeatureClientResult > result = client.call();
 
         for ( FeatureClientResult mobyServiceResult : result ) {
             Collection< FASTA_AA > fastas = mobyServiceResult.getSingleCallResult();

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/MultiCallWithParameters.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/MultiCallWithParameters.java	2008/11/26 08:52:20	1.1
+++ /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/MultiCallWithParameters.java	2008/12/17 10:21:56	1.2
@@ -1,7 +1,6 @@
 package de.mpg.mpiz_koeln.featureClient.test;
 
 import java.util.Collection;
-import java.util.List;
 import java.util.Map;
 
 import org.biomoby.shared.MobyException;
@@ -79,7 +78,7 @@
         client.addServiceInputMultiCall( "gene2", organism, sequence, geneName );
 
         // the service is called
-        List< FeatureClientResult > result = client.call();
+        Collection< FeatureClientResult > result = client.call();
 
         for ( FeatureClientResult mobyServiceResult : result ) {
             // the map stores for each identifier given the list of results

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/MultiCallByDefinition.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/MultiCallByDefinition.java	2008/11/26 08:52:20	1.1
+++ /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/MultiCallByDefinition.java	2008/12/17 10:21:56	1.2
@@ -1,7 +1,6 @@
 package de.mpg.mpiz_koeln.featureClient.test;
 
 import java.util.Collection;
-import java.util.List;
 import java.util.Map;
 
 import org.biomoby.shared.MobyException;
@@ -34,7 +33,7 @@
         client.addServiceInputMultiCall( "AGI_LocusCode", "AT1G12000" );
 
         // call the service, which will be found
-        List< FeatureClientResult > result = client.call();
+        Collection< FeatureClientResult > result = client.call();
 
         for ( FeatureClientResult mobyServiceResult : result ) {
             // as we have called the service multiple times we get back for each identifier the returned results

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/ComplexSingleCall.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/ComplexSingleCall.java	2008/11/26 08:52:20	1.1
+++ /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/ComplexSingleCall.java	2008/12/17 10:21:56	1.2
@@ -34,7 +34,7 @@
 		client.setServiceInputSingleCall( sequence );
 
 		// start the call and retrieve the results
-		List< FeatureClientResult > result = client.call();
+		Collection< FeatureClientResult > result = client.call();
 		for ( FeatureClientResult featureClientResult : result ) {
 			// as the service was called once we get back the result for this service call
 			Collection< AminoAcidSequence > sequences = featureClientResult.getSingleCallResult();

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SimpleMultiCall.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SimpleMultiCall.java	2008/11/26 08:52:20	1.1
+++ /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SimpleMultiCall.java	2008/12/17 10:21:56	1.2
@@ -1,7 +1,6 @@
 package de.mpg.mpiz_koeln.featureClient.test;
 
 import java.util.Collection;
-import java.util.List;
 import java.util.Map;
 
 import org.biomoby.shared.MobyException;
@@ -29,7 +28,7 @@
         client.addServiceInputMultiCall( "GO", "0004396" );
 
         // call the service
-        List< FeatureClientResult > result = client.call();
+        Collection< FeatureClientResult > result = client.call();
 
         for ( FeatureClientResult mobyServiceResult : result ) {
             // the map stores for each id of the input object a list of results

===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SingleMultiServiceCall.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SingleMultiServiceCall.java	2008/11/26 08:52:20	1.1
+++ /home/repository/moby/moby-live/Java/src/main/de/mpg/mpiz_koeln/featureClient/test/SingleMultiServiceCall.java	2008/12/17 10:21:56	1.2
@@ -1,7 +1,6 @@
 package de.mpg.mpiz_koeln.featureClient.test;
 
 import java.util.Collection;
-import java.util.List;
 
 import org.biomoby.shared.MobyException;
 import org.biomoby.shared.MobyService;
@@ -27,7 +26,7 @@
         client.setServiceInputSingleCall( "AGI_LocusCode", "AT1G12000" );
 
         // call the service
-        List< FeatureClientResult > result = client.call();
+        Collection< FeatureClientResult > result = client.call();
 
         for ( FeatureClientResult mobyServiceResult : result ) {
             // you can get which service returned the current result




More information about the MOBY-guts mailing list