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

import uk.ac.ebi.quickgo.annotation.model.StatisticsGroup;

import java.util.List;
import org.apache.poi.ss.usermodel.Workbook;

/**
 * Defines the method(s) to convert from a list of statistics objects to an Excel Workbook.
 * @author Tony Wardell
 * Date: 03/10/2017
 * Time: 13:53
 * Created with IntelliJ IDEA.
 */
public interface StatisticsConverter {

    Workbook convert(List<StatisticsGroup> statisticsGroups);
}

@@ -211,23 +211,42 @@
 d(s) to 
-convert
+generate an Excel Workbook
  from a 
@@ -253,17 +253,24 @@
 list of 
-s
+%7B@link S
 tatistic
@@ -274,37 +274,14 @@
 tics
- objects to an Excel Workbook
+Group%7D
 .%0A *
@@ -412,16 +412,222 @@
 rter %7B%0A%0A
+    /**%0A     * Generate an Excel Workbook from a list of %7B@link StatisticsGroup%7D to an Excel Workbook.%0A     * @param statisticsGroups source statistics data.%0A     * @return Excel workbook instance.%0A     */%0A
     Work

Add javadoc to method.