'Sets the attribute in to the value.'

def Set(self, attr, value):

    type_info_obj = self.type_infos.get(attr)
    if (type_info_obj is None):
        raise AttributeError(('Field    %s    is    not    known.' % attr))
    return self._Set(value, type_info_obj)
