General Structure for Checks on Database Edit

Guys, please check the commented out part in
update_statistics->update(). It calls
edit_database_model->validateRowUpdate(..) for the checking of the input
but the functions for the checks are not yet complete. PLEASE HELP.