if (fld.getType().equals(FieldType.CONSTANT)) {
elem.getValues().add(fld.getConstantValue());
} else {
String elemDbVal = rs.getString(fld.getDbName());
for (Iterator<MappingFunc> j = fld.getFuncs().iterator(); j.hasNext();) {
MappingFunc func = j.next();
CDEValue origVal = new CDEValue(fld.getName(), elemDbVal);
CDEValue newVal = func.inverseTranslate(origVal);
elemDbVal = newVal.getVal();
}
elem.getValues().add(elemDbVal);
}