/**
  * Set Employer of the EmployerCandidateDO
  *
  * @param BDO-wrapped Employer of the EmployerCandidateDO
  * @exception DataObjectException If the object is not found in the database.
  */
 public void setEmployer(jobmatch.data.EmployerBDO Employer) throws DataObjectException {
   try {
     // business actions/assertions prior to data assignment
     beforeAnySet();
   } catch (Exception e) {
     throw new DataObjectException("beforeAnySet: " + e.getMessage());
   }
   if (null == Employer) {
     if (false) DO.setEmployer(null);
     else throw new DataObjectException("EmployerCandidateBDO.setEmployer does not allow NULL.");
   } else {
     DO.setEmployer(Employer.getDO());
   }
   afterAnySet(); // business actions/assertions after data assignment
 }