org.rhq.core.domain.search
Class SearchSuggestion
java.lang.Object
org.rhq.core.domain.search.SearchSuggestion
- All Implemented Interfaces:
- Serializable, Comparable<SearchSuggestion>
public class SearchSuggestion
- extends Object
- implements Serializable, Comparable<SearchSuggestion>
- See Also:
- Serialized Form
SearchSuggestion
public SearchSuggestion()
SearchSuggestion
public SearchSuggestion(SearchSuggestion.Kind kind,
String value)
SearchSuggestion
public SearchSuggestion(SearchSuggestion.Kind kind,
String value,
int startIndex,
int length)
SearchSuggestion
public SearchSuggestion(SearchSuggestion.Kind kind,
String label,
String value,
int startIndex,
int length)
getKind
public SearchSuggestion.Kind getKind()
setKind
public void setKind(SearchSuggestion.Kind kind)
getLabel
public String getLabel()
getValue
public String getValue()
getStartIndex
public int getStartIndex()
getEndIndex
public int getEndIndex()
compareTo
public int compareTo(SearchSuggestion other)
- Specified by:
compareTo
in interface Comparable<SearchSuggestion>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.