package uk.ac.ebi.quickgo.annotation.service.converter;

import uk.ac.ebi.quickgo.annotation.common.document.AnnotationDocument;
import uk.ac.ebi.quickgo.annotation.model.Annotation;

/**
 * @author Tony Wardell
 * Date: 26/04/2016
 * Time: 16:47
 * Created with IntelliJ IDEA.
 */
public interface AnnotationDocConverter {

    /**
     * Convert a Solr Annotation Document into a model to be returned to the user
     * @param annotationDocument
     * @return
     */
    Annotation convert(AnnotationDocument annotationDocument);
}

@@ -444,23 +444,64 @@
 ment
-%0A     * @return
+ A document from Solr%0A     * @return an Annotation model
 %0A   

Add some javadoc.