return new DomainObjectKeyConverter();
}
@Override
public Object provide(Object source, Object currentValue) {
final ResidenceInformationForm residenceInformationForm = (ResidenceInformationForm) source;
if (residenceInformationForm.getDistrictOfResidence() != null) {
List<DistrictSubdivision> result =
new ArrayList<DistrictSubdivision>(residenceInformationForm.getDistrictOfResidence()
.getDistrictSubdivisionsSet());
Collections.sort(result, new BeanComparator("name"));
return result;
}