code: public void addObjectResult(ObjectResult objResult) {
          m_objResultList.add(objResult);
          
          // Elevate batch-level status to warning if needed.
          Status batchResult = getStatus();
          if (batchResult == Status.OK && objResult.getStatus() != ObjectResult.Status.OK) {
              setStatus(Status.WARNING);
          }
          if (objResult.isUpdated()) {
              setHasUpdates(true);
          }
      }
docs: Add the given {@link ObjectResult} to this batch.
  
  @param objResult ObjectResult to add to this batch result.