use of com.rsmart.kuali.kfs.cr.businessobject.CheckReconSource in project cu-kfs by CU-CommunityApps.
the class CheckReconSrcValuesFinder method getKeyValues.
/**
* Get Key Values
*
* @return List of KeyLabelPair
*
* @see org.kuali.core.lookup.keyvalues.KeyValuesFinder#getKeyValues()
*/
public List<KeyValue> getKeyValues() {
Collection<CheckReconSource> sources = SpringContext.getBean(KeyValuesService.class).findAll(CheckReconSource.class);
List<KeyValue> srcKeyLabels = new ArrayList<KeyValue>();
srcKeyLabels.add(new ConcreteKeyValue("", ""));
for (CheckReconSource src : sources) {
srcKeyLabels.add(new ConcreteKeyValue(src.getSourceCode(), src.getSourceName()));
}
return srcKeyLabels;
}
Aggregations