def METHOD_NAME(w,ret) :
       for key in ret.keys():
              _val = ret[key]
              if (isinstance(_val, type([]))) :
                     _vi = CondDB.VInt()
                     for i in _val :
                            _vi.append(i)
                     exec ('w.set_'+key+'(_vi)')
              else :
                     exec ('w.set_'+key+'(w.'+key+'().'+ret[key]+')')
       return w 