/** * Set Nationality of the PersonalProfile * * @param Nationality of the PersonalProfile * @exception DataObjectException If the object is not found in the database. */ public void setNationality(jobmatch.data.CountryDO Nationality) throws DataObjectException { try { // business actions/assertions prior to data assignment beforeAnySet(); } catch (Exception e) { throw new DataObjectException("beforeAnySet: " + e.getMessage()); } checkLoad(); data.Nationality = (jobmatch.data.CountryDO) markNewValue(data.Nationality, Nationality); afterAnySet(); // business actions/assertions after data assignment }