def set_name(self, value):
if value is None:<EOL><INDENT>self.__name = value<EOL><DEDENT>elif not isinstance(value, str):<EOL><INDENT>raise TypeError("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>self.__name = value<EOL><DEDENT>
Setter for 'name' field.
:param value - a new value of 'name' field. Must be either None (name is optional according to BPMN 2.0 XML
Schema) or String.