def _set_crafts(self, crafts): if isinstance(crafts, str): self.crafts = [standardizeString(crafts).lower()] elif isinstance(crafts, list): self.crafts = [standardizeString(str(c)).lower() for c in crafts] else: self.crafts = None
def _set_skills(self, skills): if isinstance(skills, str): self.skills = [standardizeString(skills).lower()] elif isinstance(skills, list): self.skills = [standardizeString(str(s)).lower() for s in skills] else: self.skills = None
def _set_synonyms(self, synonyms): if isinstance(synonyms, str): self.synonyms = [standardizeString(synonyms).lower()] elif isinstance(synonyms, list): self.synonyms = [ standardizeString(str(s)).lower() for s in synonyms ] else: self.synonyms = None
def _set_machine_type(self, machine_type): if isinstance(machine_type, str): self.machine_type = standardizeString(machine_type).lower() else: self.machine_type = None
def _set_locasion(self, location): if isinstance(location, str): self.location = standardizeString(location).lower() else: self.location = None
def _set_manufacturer(self, manufacturer): if isinstance(manufacturer, str): self.manufacturer = standardizeString(manufacturer).lower() else: self.manufacturer = None
def _set_name(self, name): if isinstance(name, str): self.name = standardizeString(name).lower() else: self.name = None
def _set_necessary_part(self, necessary_part): if isinstance(necessary_part, str): self.necessary_part = standardizeString(necessary_part).lower() else: self.necessary_part = None
def _set_part_in_process(self, part_in_process): if isinstance(part_in_process, str): self.part_in_process = standardizeString(part_in_process).lower() else: self.part_in_process = None
def _set_effects(self, effects): if isinstance(effects, str): self.effects = standardizeString(effects) else: self.effects = None
def _set_cause(self, cause): if isinstance(cause, str): self.cause = standardizeString(cause) else: self.cause = None
def _set_solution(self, solution): if isinstance(solution, str) : self.solution = standardizeString(solution) else: self.solution=None
def _set_problem(self, problem): if isinstance(problem, str): self.problem = standardizeString(problem) else: self.problem = None
def _set_keyword(self, keyword): if isinstance(keyword, str): self.keyword = standardizeString(keyword).lower() else: self.keyword = None