예제 #1
0
 /**
  * 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
 }
예제 #2
0
 /**
  * Set Employer of the EmployerCandidateDO
  *
  * @param Employer of the EmployerCandidateDO
  * @exception DataObjectException If the object is not found in the database.
  */
 public void setEmployer(jobmatch.data.EmployerDO Employer) throws DataObjectException {
   try {
     // business actions/assertions prior to data assignment
     beforeAnySet();
   } catch (Exception e) {
     throw new DataObjectException("beforeAnySet: " + e.getMessage());
   }
   DO.setEmployer(Employer);
   afterAnySet(); // business actions/assertions after data assignment
 }