package uk.ac.ebi.quickgo.webservice.model;

import java.util.List;

/**
 * @Author Tony Wardell
 * Date: 16/06/2015
 * Time: 16:25
 * Created with IntelliJ IDEA.
 */
public class Filter {

	private String type;
	private String value;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getValue() {
		return value;
	}

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

	@Override
	public String toString() {
		return "Filter{" +
				"type='" + type + '\'' +
				", value='" + value + '\'' +
				'}';
	}

}

@@ -256,81 +256,99 @@
 lic 
-String getType() %7B%0D%0A%09%09return type;%0D%0A%09%7D%0D%0A%0D%0A%09public void setType(String typ
+Filter() %7B%7D;%09//Jackson needs default constructor%0D%0A%0D%0A%09public Filter(String type, String valu
 e) %7B
@@ -366,24 +366,47 @@
 pe = type;%0D%0A
+%09%09this.value = value;%0D%0A
 %09%7D%0D%0A%0D%0A%09publi
@@ -417,20 +417,19 @@
 ring get
-Valu
+Typ
 e() %7B%0D%0A%09
@@ -436,20 +436,19 @@
 %09return 
-valu
+typ
 e;%0D%0A%09%7D%0D%0A
@@ -449,24 +449,26 @@
 %0D%0A%09%7D%0D%0A%0D%0A
+%0D%0A
 %09public 
 void set
@@ -463,54 +463,37 @@
 lic 
-void setValues(
 String 
-v
+getV
 alue
+(
 ) %7B%0D%0A%09%09
-this.value =
+return
  val
@@ -503,16 +503,18 @@
 %0D%0A%09%7D%0D%0A%0D%0A
+%0D%0A
 %09@Overri

Make this class imutable.