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

/**
 * Solr Term fields. Must have the same names as in the schema.xml solR file
 * @author cbonill
 *
 */
public enum TermField {

	ID("id"),
	NAME("name"),
	TYPE("docType"),
	CHILD("child"),
	PARENT("parent"),
	OBSOLETE_ID("obsoleteId"),
	SECONDARYID("secondaryId"),
	HISTORYTIMESTAMP("historyTimeStamp");
	// TODO Add the rest

	String value;

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

	public String getValue() {
		return value;
	}

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

@@ -359,16 +359,37 @@
 eStamp%22)
+,%0A%09DOCTYPE(%22docType%22)
 ;%0A%09// TO
@@ -426,16 +426,8 @@
 ;%0A%0A%09
-private 
 Term

Add field necessary for querying specific field within data source.