Package org.opennms.netmgt.search.api
Class Match
- java.lang.Object
- 
- org.opennms.netmgt.search.api.Match
 
- 
 public class Match extends java.lang.ObjectRepresents a search match, allowing some additional feedback to the user. A node for example can be found either by label, category, ip address or asset field. TheSearchResultItemhowever may represent the same node. For the user however it would be useful which criteria of the node actually matched the search input query. AMatchallows to do that.- Author:
- mvrueden
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetId()java.lang.StringgetLabel()java.lang.StringgetValue()voidsetId(java.lang.String id)voidsetLabel(java.lang.String label)java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
getIdpublic java.lang.String getId() 
 - 
setIdpublic void setId(java.lang.String id) 
 - 
getLabelpublic java.lang.String getLabel() 
 - 
setLabelpublic void setLabel(java.lang.String label) 
 - 
getValuepublic java.lang.String getValue() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-