org.kuali.rice.krad.keyvalues
Class PersistableBusinessObjectValuesFinder<T extends PersistableBusinessObject>
java.lang.Object
   org.kuali.rice.krad.keyvalues.KeyValuesBase
org.kuali.rice.krad.keyvalues.KeyValuesBase
       org.kuali.rice.krad.keyvalues.PersistableBusinessObjectValuesFinder<T>
org.kuali.rice.krad.keyvalues.PersistableBusinessObjectValuesFinder<T>
- All Implemented Interfaces: 
- Serializable, KeyValuesFinder
- @Transactional
public class PersistableBusinessObjectValuesFinder<T extends PersistableBusinessObject> 
- extends 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:
- Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PersistableBusinessObjectValuesFinder
public PersistableBusinessObjectValuesFinder()
getKeyValues
public List<KeyValue> 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.
 
- 
- Returns:
- List of KeyValue objects
- See Also:
- org.kuali.keyvalues.KeyValuesFinder#getKeyValues()
 
getBusinessObjectClass
public Class<T> getBusinessObjectClass()
- 
- Returns:
- the dataObjectClass
 
setBusinessObjectClass
public void setBusinessObjectClass(Class<T> businessObjectClass)
- 
- Parameters:
- businessObjectClass- the dataObjectClass to set
 
isIncludeKeyInDescription
public boolean isIncludeKeyInDescription()
- 
- Returns:
- the includeKeyInDescription
 
setIncludeKeyInDescription
public void setIncludeKeyInDescription(boolean includeKeyInDescription)
- 
- Parameters:
- includeKeyInDescription- the includeKeyInDescription to set
 
getKeyAttributeName
public String getKeyAttributeName()
- 
- Returns:
- the keyAttributeName
 
setKeyAttributeName
public void setKeyAttributeName(String keyAttributeName)
- 
- Parameters:
- keyAttributeName- the keyAttributeName to set
 
getLabelAttributeName
public String getLabelAttributeName()
- 
- Returns:
- the labelAttributeName
 
setLabelAttributeName
public void setLabelAttributeName(String labelAttributeName)
- 
- Parameters:
- labelAttributeName- the labelAttributeName to set
 
isIncludeBlankRow
public boolean isIncludeBlankRow()
- 
- Returns:
- the includeBlankRow
 
setIncludeBlankRow
public void setIncludeBlankRow(boolean includeBlankRow)
- 
- Parameters:
- includeBlankRow- the includeBlankRow to set
 
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.