Package org.kuali.rice.krad.uif.util
Class SimpleSuggestObject
java.lang.Object
org.kuali.rice.krad.uif.util.SimpleSuggestObject
- Direct Known Subclasses:
SimpleLocationSuggestObject
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 Summary
ConstructorsConstructorDescriptionSimpleSuggestObject(String label, String value) Create a SimpleSuggestObject -
Method Summary
-
Constructor Details
-
SimpleSuggestObject
Create a SimpleSuggestObject- Parameters:
label- the label to show for the suggestionvalue- the value to insert when the label is selected
-
-
Method Details
-
getLabel
The label of the suggestion- Returns:
- the label
-
setLabel
Set the label- Parameters:
label-
-
getValue
The value of the suggestion (inserted when the suggestion is picked)- Returns:
- the value
-
setValue
Set the value- Parameters:
value-
-