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 Summary
All 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
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getLabel
public java.lang.String getLabel()
-
setLabel
public void setLabel(java.lang.String label)
-
getValue
public java.lang.String getValue()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-