code: def tomof(self, indent=MOF_INDENT, maxline=MAX_MOF_LINE, line_pos=0):
          
  
          mof = []
  
          mof.append(self.name)
          mof.append(u' ')
  
          if isinstance(self.value, list):
              mof.append(u'{')
          else:
              mof.append(u'(')
  
          line_pos += len(u''.join(mof))
          # Assume in line_pos that the extra space would be needed
          val_str, line_pos = _value_tomof(
              self.value, self.type, indent, maxline, line_pos + 1, 3, True)
          # Empty arrays are represented as val_str=''
          if val_str and val_str[0] != '\n':
              # The extra space was actually needed
              mof.append(u' ')
          else:
              # Adjust by the extra space that was not needed
              line_pos -= 1
          mof.append(val_str)
  
          if isinstance(self.value, list):
              mof.append(u' }')
          else:
              mof.append(u' )')
  
          mof_str = u''.join(mof)
          return mof_str
docs: Return a MOF string with the specification of this CIM qualifier
          as a qualifier value.
  
          The items of array values are tried to keep on the same line. If the
          generated line would exceed the maximum MOF line length, the value is
          split into multiple lines, on array item boundaries, and/or within long
          strings on word boundaries.
  
          If a string value (of a scalar value, or of an array item) is split
          into multiple lines, the first line of the value is put onto a line on
          its own.
  
          Parameters:
  
            indent (:term:`integer`): For a multi-line result, the number of
              spaces to indent each line except the first line (on which the
              qualifier name appears). For a single-line result, ignored.
  
          Returns:
  
            :term:`unicode string`: MOF string.