Class AutocompleteItem


  • public class AutocompleteItem
    extends Object
    Item that is returned to autocomplete calls
    • Constructor Detail

      • AutocompleteItem

        public AutocompleteItem()
        Create an empty instance
      • AutocompleteItem

        public AutocompleteItem​(String label,
                                String value)
        Create an instance with label and value
        Parameters:
        label - label
        value - value
    • Method Detail

      • getLabel

        public String getLabel()
        Label of the autocomplete item
        Returns:
        label
      • setLabel

        public void setLabel​(String label)
        Set the label
        Parameters:
        label - label
      • getValue

        public String getValue()
        Value of the autocomplete item
        Returns:
        value
      • setValue

        public void setValue​(String value)
        Set the value
        Parameters:
        value - value