def METHOD_NAME(self,property,value):
    name = property.name.replace('-','_')
    if name not in self.__gproperties.keys():
        raise(AttributeError
             ,_('%s:do_set_property: unknown <%s>')
             % (g_progname,name))
    else:
        self.property_dict[name] = value