All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.salesmanager.core.model.search.SearchResponse Maven / Gradle / Ivy

package com.salesmanager.core.model.search;

import java.util.List;
import java.util.Map;

public class SearchResponse {
	
	private long totalCount = 0;//total number of entries
	private long entryCount = 0;//number of entries asked
	
	private List entries;
	private Map> facets;//facet key (example : category) & facet description (example : category code)
	
	public void setTotalCount(long totalCount) {
		this.totalCount = totalCount;
	}
	public long getTotalCount() {
		return totalCount;
	}
	public void setEntryCount(long entryCount) {
		this.entryCount = entryCount;
	}
	public long getEntryCount() {
		return entryCount;
	}
	public void setEntries(List entries) {
		this.entries = entries;
	}
	public List getEntries() {
		return entries;
	}
	public void setFacets(Map> facets) {
		this.facets = facets;
	}
	public Map> getFacets() {
		return facets;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy