Search in sources :

Example 1 with SelectControlDefinition

use of org.kuali.kfs.kns.datadictionary.control.SelectControlDefinition in project cu-kfs by CU-CommunityApps.

the class PayeeACHAccountExtractServiceImplTest method createAttributeDefinitionWithValuesFinder.

private AttributeDefinition createAttributeDefinitionWithValuesFinder(String valuesFinderClass, boolean includeKeyInLabel) {
    // We only care about the values finder and include-key-in-label flag, not about any other setup like property name and max length.
    AttributeDefinition attrDefinition = new AttributeDefinition();
    SelectControlDefinition controlDefinition = new SelectControlDefinition();
    controlDefinition.setValuesFinderClass(valuesFinderClass);
    controlDefinition.setIncludeKeyInLabel(Boolean.valueOf(includeKeyInLabel));
    attrDefinition.setControl(controlDefinition);
    return attrDefinition;
}
Also used : AttributeDefinition(org.kuali.kfs.krad.datadictionary.AttributeDefinition) SelectControlDefinition(org.kuali.kfs.kns.datadictionary.control.SelectControlDefinition)

Aggregations

SelectControlDefinition (org.kuali.kfs.kns.datadictionary.control.SelectControlDefinition)1 AttributeDefinition (org.kuali.kfs.krad.datadictionary.AttributeDefinition)1