code: private int addJobPart(List<DataSource> bodyPartContents, URI jobURI,
              int contentId) throws JAXBException {
          int jobContentId = contentId;
          validateJobOperation();
  
          for (EntityBatchOperation entityBatchOperation : entityBatchOperations) {
              DataSource bodyPartContent = null;
              if (entityBatchOperation instanceof Job.CreateBatchOperation) {
                  Job.CreateBatchOperation jobCreateBatchOperation = (Job.CreateBatchOperation) entityBatchOperation;
                  jobContentId = contentId;
                  bodyPartContent = createBatchCreateEntityPart(
                          jobCreateBatchOperation.getVerb(), "Jobs",
                          jobCreateBatchOperation.getEntryType(), jobURI,
                          contentId);
                  contentId++;
                  if (bodyPartContent != null) {
                      bodyPartContents.add(bodyPartContent);
                      break;
                  }
              }
          }
          return jobContentId;
      }
docs: Adds the job part.
  
  @param bodyPartContents
  the body part contents
  @param contentId
  the content id
  @return the int
  @throws JAXBException
  the jAXB exception