def status(self, status_text): """ returns the status :returns: String """ self.status_id = Status.get_by_value(status_text)
def status(self): """ returns the status :returns: String """ return Status.get_by_id(self.status_id)