/** * Set Function of the EmployerCandidateDO * * @param Function of the EmployerCandidateDO * @exception DataObjectException If the object is not found in the database. */ public void setFunction(String Function) throws DataObjectException { try { // business actions/assertions prior to data assignment beforeAnySet(); } catch (Exception e) { throw new DataObjectException("beforeAnySet: " + e.getMessage()); } DO.setFunction(Function); afterAnySet(); // business actions/assertions after data assignment }