Package org.opennms.netmgt.search.api
Class SearchResultItem
- java.lang.Object
-
- org.opennms.netmgt.search.api.SearchResultItem
-
public class SearchResultItem extends Object
EachSearchResult
contains 0 to nSearchResultItem
s which represent an item for the context, e.g. a Node, or Action.- Author:
- mvrueden
-
-
Constructor Summary
Constructors Constructor Description SearchResultItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMatch(Match match)
void
addMatches(List<Matcher> matcherList, String input)
boolean
equals(Object o)
String
getIcon()
String
getIdentifier()
String
getInfo()
String
getLabel()
List<Match>
getMatches()
Map<String,String>
getProperties()
String
getUrl()
int
getWeight()
int
hashCode()
void
merge(SearchResultItem mergeMe)
void
setIcon(String icon)
void
setIdentifier(String identifier)
void
setInfo(String info)
void
setLabel(String label)
void
setProperties(Map<String,String> properties)
void
setUrl(String url)
void
setWeight(int weight)
-
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
-
setIdentifier
public void setIdentifier(String identifier)
-
getLabel
public String getLabel()
-
setLabel
public void setLabel(String label)
-
getUrl
public String getUrl()
-
setUrl
public void setUrl(String url)
-
getIcon
public String getIcon()
-
setIcon
public void setIcon(String icon)
-
addMatch
public void addMatch(Match match)
-
setWeight
public void setWeight(int weight)
-
getWeight
public int getWeight()
-
merge
public void merge(SearchResultItem mergeMe)
-
setInfo
public void setInfo(String info)
-
getInfo
public String getInfo()
-
-