Merge remote-tracking branch 'origin/features/JAL-1705_ensembl' into
[jalview.git] / src / jalview / ws / seqfetcher / DbSourceProxy.java
index 556df1f..33f62b6 100644 (file)
@@ -94,7 +94,9 @@ public interface DbSourceProxy
   public String getTestQuery();
 
   /**
-   * optionally implemented
+   * Required for sources supporting multiple query retrieval for use with the
+   * DBRefFetcher, which attempts to limit its queries with putative accession
+   * strings for a source to only those that are likely to be valid.
    * 
    * @param accession
    * @return
@@ -107,7 +109,9 @@ public interface DbSourceProxy
    * 
    * @param queries
    *          - one or more queries for database in expected form
-   * @return null if queries were successful but result was not parsable
+   * @return null if queries were successful but result was not parsable.
+   *         Otherwise, an AlignmentI object containing properly annotated data
+   *         (e.g. sequences with accessions for this datasource)
    * @throws Exception
    *           - propagated from underlying transport to database (note -
    *           exceptions are not raised if query not found in database)