void UITransform::transformForm2Object(Form& form, SkillsInformation& info) { info.setCategoryId( form.getText("Category Id")); info.setSkillDescription( form.getText("Skill Description")); info.setSkillId( form.getText("Skill Id")); info.setSkillName(form.getText("Skill Name")); info.setStatus( form.getText("Skill Status")); }
void UITransform::transformForm2Object(Form& form, SkillCategory& info) { info.setCategoryDescription(form.getText("Category Description")); info.setCategoryName(form.getText("Category Name")); info.setStatus(form.getText("Category Status")); //info.setSkillList(form.getText("SkillList")); }
void UITransform::transformForm2Object(Form& form, AccentureDetails& info) { info.setEnterpriseAddress(form.getText("Enterprise Address")); info.setEnterpriseId(form.getText("Enterprise Id")); info.setGMU(form.getText("GMU")); info.setDateHired(form.getText("Hire Date (DD-MON-YYYY)")); info.setLevel(form.getText("Level")); info.setLMU(form.getText("LMU")); info.setServiceLine(form.getText("Service Line")); info.setSpecialty(form.getText("Speciality")); info.setStatus(form.getText("Status")); info.setWorkGroup(form.getText("WorkGroup")); }
void UITransform::transformForm2Object(Form& form, ProjectInfo& info) { info.setClient( form.getText("Client") ); info.setStartDate( form.getText("Start Date")); info.setEndDate( form.getText("End Date")); info.setProjectDescription( form.getText("Project Description")); info.setProjectName( form.getText("Project Name")); info.setStatus( form.getText("Project Status")); }
void UITransform::transformForm2Object(Form& form, EmployeeInfo& info) { info.setFirstName( form.getText("First Name") ); info.setLastName( form.getText("Last Name") ); info.setMiddleName( form.getText("Middle Name") ); info.setGender( form.getText("Gender(M/F)") ); // info.setAge( atoi(form.getText("Age").c_str()) ); info.setDOB( form.getText("Date of Birth (DD-MON-YYYY)") ); info.setCitizenship( form.getText("Citizenship") ); info.setCity( form.getText("City") ); info.setHomePhoneNo( form.getText("Home Phone") ); info.setMobilePhoneNo( form.getText("Mobile Number") ); info.setEducationalAttainment( form.getText("Educational Attainment") ); info.setStreet1( form.getText("Street Address 1") ); info.setStreet2( form.getText("Street Address 2") ); info.setState( form.getText("State") ); info.setCountry( form.getText("Country") ); info.setRecognitions( form.getText("Recognition") ); info.setSSSNo( form.getText("SSS No") ); info.setTinNo( form.getText("TIN No") ); info.setCivilStatus( form.getText("Civil Status") ); }