package uk.ac.ebi.quickgo.solr.query.model.annotation.enums;

/**
 * Enum for Solr Annotation fields
 * @author cbonill
 *
 */
public enum AnnotationField {

	ID("id"),
	DBOBJECTID("dbObjectID"),
	TARGETSET("targetSet"),
	DOCTYPE("docType"),
	GOASPECT("goAspect"),
	ASSIGNEDBY("assignedBy"),
	GOEVIDENCE("goEvidence"),
	WITH("with"),
	GOID("goID"),
	ECOID("ecoID"),
	QUALIFIER("qualifier"),
	TAXONOMYID("taxonomyId"),
	TAXONOMYCLOSURE("taxonomyClosure"),
	DBXREF("dbXref"),
	ANCESTORSI("ancestorsI"),
	ANCESTORSIPO("ancestorsIPO"),
	ANCESTORSIPOR("ancestorsIPOR"),
	ECOANCESTORSI("ecoAncestorsI"),
	GP2PROTEIN("gp2protein"),
	SUBSET("subSet");

	
	String value;

	private AnnotationField(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}

package uk.ac.ebi.quickgo.solr.query.model.annotation.enums;

/**
 * Enum for Solr Annotation fields
 * @author cbonill
 *
 */
public enum AnnotationField {

	ID("id"),
	DBOBJECTID("dbObjectID"),
	TARGETSET("targetSet"),
	DOCTYPE("docType"),
	GOASPECT("goAspect"),
	ASSIGNEDBY("assignedBy"),
	GOEVIDENCE("goEvidence"),
	WITH("with"),
	GOID("goID"),
	ECOID("ecoID"),
	QUALIFIER("qualifier"),
	TAXONOMYID("taxonomyId"),
	TAXONOMYCLOSURE("taxonomyClosure"),
	DBXREF("dbXref"),
	ANCESTORSI("ancestorsI"),
	ANCESTORSIPO("ancestorsIPO"),
	ANCESTORSIPOR("ancestorsIPOR"),
	ECOANCESTORSI("ecoAncestorsI"),
	GP2PROTEIN("gp2protein"),
	SUBSET("subSet"),
	REFERENCE("dbXref");


	String value;

	private AnnotationField(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
}

Add the annotation enum so we can filter by reference values.
Add the annotation enum so we can filter by reference values.