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 an Annotation Document into a model to be returned to the user
     * @param annotationDocument  A document retrieved from the Annotation data source
     * @return an Annotation model
     */
    Annotation convert(AnnotationDocument annotationDocument);
}

@@ -181,16 +181,101 @@
 n;%0A%0A/**%0A
+ * Converts an %7B@link AnnotationDocument%7D into an instance of %7B@link Annotation%7D.%0A *%0A
  * @auth
@@ -329,39 +329,8 @@
 :47%0A
- * Created with IntelliJ IDEA.%0A
  */%0A

Improve more JavaDoc to interface.