Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4744 amar.kumar 1
package in.shop2020.server;
2
 
3
import java.util.ArrayList;
4
import java.util.Hashtable;
5
import java.util.List;
6
import java.util.Map;
7
 
8
public class SearchMetadata {
9
 
10
	private String query;
11
	private Map<String, Long> categoryFrequency = new Hashtable<String, Long>();
12
	private List<Long> searchResults = new ArrayList<Long>();
13
	private Long averageNoOfResults;
14
	private Long totalSearches;
15
	private Long sessionCount;
16
	private List<Object> sessionIds;
17
 
18
	public String getQuery() {
19
		return query;
20
	}
21
	public void setQuery(String query) {
22
		this.query = query;
23
	}
24
 
25
	public Map<String, Long> getcategoryFrequency() {
26
		return categoryFrequency;
27
	}
28
	public void setcategoryFrequency(Map<String, Long> categoryFrequency) {
29
		this.categoryFrequency = categoryFrequency;
30
	}
31
 
32
	public Long getAverageNoOfResults() {
33
		return averageNoOfResults;
34
	}
35
	public void setAverageNoOfResults(Long averageNoOfResults) {
36
		this.averageNoOfResults = averageNoOfResults;
37
	}
38
 
39
	public Long getTotalSearches() {
40
		return totalSearches;
41
	}
42
	public void setTotalSearches(Long totalSearches) {
43
		this.totalSearches = totalSearches;
44
	}
45
 
46
	public Long getSessionCount() {
47
		return sessionCount;
48
	}
49
	public void setSessionCount(Long sessionCount) {
50
		this.sessionCount = sessionCount;
51
	}
52
	public List<Long> getSearchResults() {
53
		return searchResults;
54
	}
55
	public void setSearchResults(List<Long> searchResults) {
56
		this.searchResults = searchResults;
57
	}
58
	public List<Object> getSessionIds() {
59
		return sessionIds;
60
	}
61
	public void setSessionIds(List<Object> sessionIds) {
62
		this.sessionIds = sessionIds;
63
	}
64
 
65
}