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 Summary
Constructors Constructor Description AutocompleteItem()
Create an empty instanceAutocompleteItem(String label, String value)
Create an instance with label and value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel()
Label of the autocomplete itemString
getValue()
Value of the autocomplete itemvoid
setLabel(String label)
Set the labelvoid
setValue(String value)
Set the 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
-
-