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;
	}
}

@@ -635,20 +635,41 @@
 subSet%22)
+,%0A%09REFERENCE(%22dbXref%22)
 ;%0A%0A
-%09
 %0A%09String

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