org.rhq.core.domain.search
Class SearchSuggestion

java.lang.Object
  extended by 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

Nested Class Summary
static class SearchSuggestion.Kind
           
 
Constructor Summary
SearchSuggestion()
           
SearchSuggestion(SearchSuggestion.Kind kind, String value)
           
SearchSuggestion(SearchSuggestion.Kind kind, String value, int startIndex, int length)
           
SearchSuggestion(SearchSuggestion.Kind kind, String label, String value, int startIndex, int length)
           
 
Method Summary
 int compareTo(SearchSuggestion other)
           
 int getEndIndex()
           
 SearchSuggestion.Kind getKind()
           
 String getLabel()
           
 int getStartIndex()
           
 String getValue()
           
 void setKind(SearchSuggestion.Kind kind)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.