code: def result(self, result):
          
          if result is None:
              log.debug('%s, not-found', self.ref)
              return
          if self.resolved:
              result = result.resolve()
          log.debug('%s, found as: %s', self.ref, Repr(result))
          self.history.append(result)
          return result
docs: Query result post processing.
          @param result: A query result.
          @type result: L{sxbase.SchemaObject}