# File cmpi.rb, line 430
    def to_s
      # objectpath only covers the key properties
      path = objectpath
      keys = []
      path.each { |val,name| keys << name }
      # now iterate over the instance properties, filter
      # out the key properties from the objectpath
      # and collect the non-key properties
      s = ""
      self.each do |value,name|
        next unless value
        next if keys.include? name
        s << ", " unless s.empty?
        s << "\"#{name}\"=#{value.inspect}"
      end
      # path has the key properties, s has the non-key properties
      "#{path} #{s}"
    end