MutiAggObject.java 692 Bytes
package com.yoho.search.models;

import com.yoho.search.core.es.agg.IAggregation;
import com.yoho.search.core.es.model.SearchParam;

public class MutiAggObject {
	
	private IAggregation aggregation;
	private String filterParamName;
	private SearchParam searchParam;

	public MutiAggObject(IAggregation aggregation, String filterParamName, SearchParam searchParam) {
		super();
		this.aggregation = aggregation;
		this.filterParamName = filterParamName;
		this.searchParam = searchParam;
	}

	public IAggregation getAggregation() {
		return aggregation;
	}

	public SearchParam getSearchParam() {
		return searchParam;
	}

	public String getFilterParamName() {
		return filterParamName;
	}

}