private Object getObjectValue(String fieldname, boolean fromSource) throws Exception {
        Object sourceObject = fromSource ? source : target;
        Object result = null;
        for (String part : StringUtils.split(fieldname, ".")) {
            if (isTemporaryField(part)) {
                result = loadObjectFromTemporary(part, fieldname);
            } else {
                result = loadObjectFromField(part, result, sourceObject);
            }
        }
        return result;
    }
private Object getObjectValue ( String fieldname , boolean fromSource ) throws Exception { Object sourceObject = fromSource ? source : target ; Object result = null ; for ( String part : StringUtils . split ( fieldname , "." ) ) { if ( isTemporaryField ( part ) ) { result = loadObjectFromTemporary ( part , fieldname ) ; } else { result = loadObjectFromField ( part , result , sourceObject ) ; } } return result ; }
Gets the value of the field with the field name either from the source object or the target object, depending on
the parameters. Is also aware of temporary fields.