public static IclubPersonModel fromUItoWS(IclubPersonBean bean) { IclubPersonModel model = new IclubPersonModel(); model.setPId(bean.getPId()); model.setPCrtdDt(bean.getPCrtdDt()); model.setPDob(bean.getPDob()); model.setPEmail(bean.getPEmail()); model.setPFName(bean.getPFName()); model.setPIdNum(bean.getPIdNum()); model.setPLName(bean.getPLName()); model.setPAge(bean.getPAge()); model.setPMobile(bean.getPMobile()); model.setPAddress(bean.getPAddress()); model.setPContactPref(bean.getPContactPref()); model.setPGender(bean.getPGender()); model.setPContactPref(bean.getPContactPref()); model.setPIdExpiryDt(bean.getPIdExpiryDt()); model.setPInitials(bean.getPInitials()); model.setPIsPensioner(bean.getPIsPensioner()); model.setPIdIssueCntry( bean.getPIdIssueCntry() != null ? bean.getPIdIssueCntry().longValue() : null); model.setPIdIssueDt(bean.getPIdIssueDt()); model.setPLat(bean.getPLat()); model.setPLong(bean.getPLong()); model.setPOccupation(bean.getPOccupation()); model.setPTitle(bean.getPTitle()); model.setPZipCd(bean.getPZipCd()); model.setIclubIdType(bean.getIclubIdType()); model.setItLongDesc(bean.getItLongDesc()); model.setIclubMaritalStatus(bean.getIclubMaritalStatus()); model.setMsLongDesc(bean.getMsLongDesc()); model.setIclubPerson(bean.getIclubPerson()); model.setPFNameAndLName(bean.getPFNameAndLName()); model.setIclubCohort(bean.getIclubCohort()); model.setCEmail(bean.getCEmail()); model.setIclubCohortInvite(bean.getIclubCohortInvite()); return model; }