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

import java.util.List;

/**
 * @Author Tony Wardell
 * Date: 16/06/2015
 * Time: 11:17
 * Created with IntelliJ IDEA.
 */
public class FilterRequestJson implements FilterRequest {

	private int rows;
	private int page;
	private boolean isSlim;
	private List<Filter> list;
	private String format;
	private int limit;

	@Override
	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}

	@Override
	public List<Filter> getList() {
		return list;
	}

	public void setList(List<Filter> list) {
		this.list = list;
	}

	@Override
	public boolean isSlim() {
		return isSlim;
	}

	public void setIsSlim(boolean isSlim) {
		this.isSlim = isSlim;
	}

	@Override
	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public String getFormat() {
		return this.format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}
}


@@ -1131,14 +1131,264 @@
 it;%0D%0A%09%7D%0D
+%0A%0D%0A%09@Override%0D%0A%09public String toString() %7B%0D%0A%09%09return %22FilterRequestJson%7B%22 +%0D%0A%09%09%09%09%22rows=%22 + rows +%0D%0A%09%09%09%09%22, page=%22 + page +%0D%0A%09%09%09%09%22, isSlim=%22 + isSlim +%0D%0A%09%09%09%09%22, list=%22 + list +%0D%0A%09%09%09%09%22, format='%22 + format + '%5C'' +%0D%0A%09%09%09%09%22, limit=%22 + limit +%0D%0A%09%09%09%09'%7D';%0D%0A%09%7D%0D
 %0A%7D%0D%0A%0D%0A

Add toString method.