Package org.kuali.rice.krad.keyvalues
Class PersistableBusinessObjectValuesFinder
java.lang.Object
org.kuali.rice.krad.keyvalues.KeyValuesBase
org.kuali.rice.krad.keyvalues.PersistableBusinessObjectValuesFinder
- All Implemented Interfaces:
Serializable,org.kuali.rice.krad.keyvalues.KeyValuesFinder
public class PersistableBusinessObjectValuesFinder
extends org.kuali.rice.krad.keyvalues.KeyValuesBase
This class is a Generic ValuesFinder that builds the list of KeyValuePairs it returns
in getKeyValues() based on a BO along with a keyAttributeName and labelAttributeName
that are specified.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<org.kuali.rice.core.api.util.KeyValue> Build the list of KeyValues using the key (keyAttributeName) and label (labelAttributeName) of the list of all business objects found for the BO class specified.voidsetBusinessObjectClass(Class<?> businessObjectClass) voidsetIncludeBlankRow(boolean includeBlankRow) voidsetIncludeKeyInDescription(boolean includeKeyInDescription) Deprecated.voidsetIncludeKeyInLabel(boolean includeKeyInLabel) voidsetKeyAttribute(String keyAttribute) voidsetKeyAttributeName(String keyAttributeName) Deprecated.voidsetLabelAttribute(String labelAttribute) voidsetLabelAttributeName(String labelAttributeName) Deprecated.toString()Methods inherited from class org.kuali.rice.krad.keyvalues.KeyValuesBase
clearInternalCache, getKeyLabel, getKeyLabelMap, getKeyValues, getOptionLabels, getOptionValues
-
Field Details
-
businessObjectClass
-
keyAttribute
-
labelAttribute
-
includeKeyInLabel
protected boolean includeKeyInLabel -
includeBlankRow
protected boolean includeBlankRow
-
-
Constructor Details
-
PersistableBusinessObjectValuesFinder
public PersistableBusinessObjectValuesFinder()
-
-
Method Details
-
getKeyValues
Build the list of KeyValues using the key (keyAttributeName) and label (labelAttributeName) of the list of all business objects found for the BO class specified. -
setBusinessObjectClass
-
setIncludeKeyInLabel
public void setIncludeKeyInLabel(boolean includeKeyInLabel) -
setIncludeKeyInDescription
Deprecated. -
setKeyAttribute
-
setKeyAttributeName
Deprecated. -
setLabelAttribute
-
setLabelAttributeName
Deprecated. -
setIncludeBlankRow
public void setIncludeBlankRow(boolean includeBlankRow) -
toString
-
setIncludeKeyInLabel(boolean)