code: private void setMandatoryAttachments(ResearchPlanAttachments researchPlanAttachments) {
          if (researchPlanAttachments.getResearchStrategy() == null) {
              researchPlanAttachments.setResearchStrategy(ResearchStrategy.Factory.newInstance());
          }
      }
docs: This set any mandatory attachments that aren't set to blank objects so that validation errors can be more user friendly.