Class AutocompleteItem

java.lang.Object
com.gentics.contentnode.rest.model.devtools.AutocompleteItem

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

    • 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 Details

    • 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