package uk.ac.ebi.quickgo.ontology.common.coterm;

import java.util.List;
import org.springframework.data.repository.Repository;

/**
 * @author Tony Wardell
 * Date: 29/09/2016
 * Time: 11:39
 * Created with IntelliJ IDEA.
 */
public interface CoTermRepository extends Repository<List<CoTerm>, String> {

    List<CoTerm> findCoTerms(String id, CoTermType type, int limit, int thresholdLimit);
}

@@ -127,16 +127,80 @@
 y;%0A%0A/**%0A
+ * Represents the store of co-occurring GO Term information.%0A *%0A
  * @auth
@@ -215,16 +215,16 @@
 Wardell%0A
-
  * Date:
@@ -363,16 +363,938 @@
 ing%3E %7B%0A%0A
+    /**%0A     * For a single GO Term, retrieve a list of co-occurring terms and related statistics, in order of the%0A     * co-occurring terms similarity probablity (descending).%0A     * @param id is the target GO term, for which the method will retrieve co-occurring terms (GO terms that are used%0A     * to annotation the same gene products as this GO Term is used to annotate).%0A     * @param source is the method from which the annotation that uses the GO term was generated.%0A     * @param limit Limit the number of co-occurring terms return to the limit specified.%0A     * @param similarityThreshold if specified (greater than zero), only return co-occurring GO terms with a%0A     * similarity ratio above this figure.%0A     * @return a list of objects, each one of which represent a GO Term that is used to annotate the same gene%0A     * product as the id. Each object holds statistics related to that co-occurrence.%0A     */%0A
     List
@@ -1335,16 +1335,20 @@
 Term
-Type typ
+Source sourc
 e, i
@@ -1365,17 +1365,27 @@
 int 
-t
+similarityT
 hreshold
 Limi
@@ -1380,18 +1380,13 @@
 hreshold
-Limit
 );%0A%7D%0A

Add javadoc.