/** * Set Sex of the PersonalProfile * * @param Sex of the PersonalProfile * @exception DataObjectException If the object is not found in the database. */ public void setSex(String Sex) throws DataObjectException { try { // business actions/assertions prior to data assignment beforeAnySet(); } catch (Exception e) { throw new DataObjectException("beforeAnySet: " + e.getMessage()); } checkLoad(); data.Sex = markNewValue(data.Sex, Sex, 0, 32, true); afterAnySet(); // business actions/assertions after data assignment }
/** * 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 }
/** * Set MaxAge of the PersonalProfile * * @param MaxAge of the PersonalProfile * @exception DataObjectException If the object is not found in the database. */ public void setMaxAge(int MaxAge) throws DataObjectException { try { // business actions/assertions prior to data assignment beforeAnySet(); } catch (Exception e) { throw new DataObjectException("beforeAnySet: " + e.getMessage()); } checkLoad(); data.MaxAge = markNewValue(data.MaxAge, MaxAge); afterAnySet(); // business actions/assertions after data assignment }
/** * Get Sex of the PersonalProfile * * @return Sex of the PersonalProfile * @exception DataObjectException If the object is not found in the database. */ public String getSex() throws DataObjectException { beforeAnyGet(); // business actions/assertions prior to data return checkLoad(); return data.Sex; }
/** * Get Nationality of the PersonalProfile * * @return Nationality of the PersonalProfile * @exception DataObjectException If the object is not found in the database. */ public jobmatch.data.CountryDO getNationality() throws DataObjectException { beforeAnyGet(); // business actions/assertions prior to data return checkLoad(); return data.Nationality; }
/** * Get MaxAge of the PersonalProfile * * @return MaxAge of the PersonalProfile * @exception DataObjectException If the object is not found in the database. */ public int getMaxAge() throws DataObjectException { beforeAnyGet(); // business actions/assertions prior to data return checkLoad(); return data.MaxAge; }