set attribute

def SetProp(self, prop, value):
        """
		set attribute
		"""
        if prop == 'id':
            self.id = value
        elif prop == 'status':
            self.status = value
        elif prop == 'bm':
            self.bm = value
        elif prop == 'graph':
            self.graph = value
        else:
            self.properties[prop] = value