org.kuali.rice.krad.uif.util
Class SimpleSuggestObject

java.lang.Object
  extended by 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 Summary
SimpleSuggestObject(String label, String value)
          Create a SimpleSuggestObject
 
Method Summary
 String getLabel()
          The label of the suggestion
 String getValue()
          The value of the suggestion (inserted when the suggestion is picked)
 void setLabel(String label)
          Set the label
 void setValue(String value)
          Set the value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

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 -


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.