public void setInstancePropertyFromDbName(T instance, String dbName, Object value) {
        Map<String, Cell> cfs = columnDefinitions();
        Cell metadataCell = cfs.get(dbName);

        String f = mapDBNameToEntityName.get(dbName);

        if (StringUtils.isEmpty(f)) {
            // DB column is not mapped in the testentity
            return;
        }

        try {
            Method setter = Utils.findSetter(f, entityClass, value.getClass());
            setter.invoke(instance, value);

        } catch (DeepIOException e) {
            Utils.setFieldWithReflection(instance, f, value);
        } catch (Exception e1) {
            throw new DeepGenericException(e1);
        }

    }
public void setInstancePropertyFromDbName ( T instance , String dbName , Object value ) { Map < String , Cell > cfs = columnDefinitions ( ) ; Cell metadataCell = cfs . get ( dbName ) ; String f = mapDBNameToEntityName . get ( dbName ) ; if ( StringUtils . isEmpty ( f ) ) { return ; } try { Method setter = Utils . findSetter ( f , entityClass , value . getClass ( ) ) ; setter . invoke ( instance , value ) ; } catch ( DeepIOException e ) { Utils . setFieldWithReflection ( instance , f , value ) ; } catch ( Exception e1 ) { throw new DeepGenericException ( e1 ) ; } }
Given an instance of the generic object mapped to this configurtion object,
sets the instance property whose name is the name specified by dbName.
Since the provided dbName is the name of the field in the database, we first try
to resolve the property name using the fieldName property of the DeepField annotation.
If we don't find any property whose DeepField.fieldName.equals(dbName) we fallback to the
name of the Java property.

@param instance instance object.
@param dbName   name of the field as known by the data store.
@param value    value to set in the property field of the provided instance object.