Class AutoCompleteSuggestion

java.lang.Object
org.primefaces.model.rest.AutoCompleteSuggestion
All Implemented Interfaces:
Serializable

public class AutoCompleteSuggestion extends Object implements Serializable
AutoComplete-REST-Endpoint (indicated via completeEndpoint-attribute) has to return a list of suggestions. This class may be used to represent one suggestion.
See Also:
  • Constructor Details

    • AutoCompleteSuggestion

      public AutoCompleteSuggestion(String value, String label)
  • Method Details

    • getValue

      public String getValue()
    • setValue

      public void setValue(String value)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object