Class SimpleSuggestObject

java.lang.Object
org.kuali.rice.krad.uif.util.SimpleSuggestObject
Direct Known Subclasses:
SimpleLocationSuggestObject

public class SimpleSuggestObject extends Object
An object that represents a simple suggestion with a label and a value. For use when returning a suggestion without specifying valuePropertyName or labelPropertyName on the Suggest widget. This class is also available for extension purposes.
  • Constructor Details

    • SimpleSuggestObject

      public SimpleSuggestObject(String label, String value)
      Create a SimpleSuggestObject
      Parameters:
      label - the label to show for the suggestion
      value - the value to insert when the label is selected
  • Method Details

    • getLabel

      public String getLabel()
      The label of the suggestion
      Returns:
      the label
    • setLabel

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

      public String getValue()
      The value of the suggestion (inserted when the suggestion is picked)
      Returns:
      the value
    • setValue

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