summaryrefslogtreecommitdiff
path: root/src/de/danoeh/antennapod/feed/SearchResult.java
blob: 1cba389ec9723b55bc96b654b855e27ee5b93450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package de.danoeh.antennapod.feed;

public class SearchResult {
	private FeedComponent component;
	/** Additional information (e.g. where it was found) */
	private String subtitle;
	/** Higher value means more importance */
	private int value;

	public SearchResult(FeedComponent component, int value, String subtitle) {
		super();
		this.component = component;
		this.value = value;
        this.subtitle = subtitle;
	}

	public FeedComponent getComponent() {
		return component;
	}

	public String getSubtitle() {
		return subtitle;
	}

	public void setSubtitle(String subtitle) {
		this.subtitle = subtitle;
	}

	public int getValue() {
		return value;
	}
	

}