@@ -0,0 +1,231 @@
+package uk.ac.ebi.quickgo.rest.search.query;%0A%0A/**%0A * @author Tony Wardell%0A * Date: 10/05/2016%0A * Time: 14:15%0A * Created with IntelliJ IDEA.%0A */%0A@FunctionalInterface%0Apublic interface Validator%3CT,E%3E %7B%0A%0A    void validate(T t, E e);%0A%7D%0A

Add validation mechanism.