Class 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:
    Serialized Form
    • Constructor Detail

      • AutoCompleteSuggestion

        public AutoCompleteSuggestion​(String value,
                                      String label)
    • Method Detail

      • getValue

        public String getValue()
      • setValue

        public void setValue​(String value)
      • getLabel

        public String getLabel()
      • setLabel

        public void setLabel​(String label)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object