@Override public void convertCompetencyDomainToVO(Competency competency, CompetencyVO competencyVO) { // CompetencyUtil.convertCompetencyDomainToVO(competency, // competencyVO); competencyVO.setCompetencyId(competency.getCompetencyId()); competencyVO.setCompetencyName(competency.getCompetencyName()); competencyVO.setDefinition(competency.getDefinition()); competencyVO.setIsActive(competency.getIsActive()); }
@Override public void convertCompetencyVOToDomain(CompetencyVO competencyVO, Competency competency) { // CompetencyUtil.convertCompetencyVOToDomain(competencyVO, competency); competency.setCompetencyId(competencyVO.getCompetencyId()); competency.setCompetencyName(competencyVO.getCompetencyName()); competency.setDefinition(competencyVO.getDefinition()); competency.setIsActive(true); competency.setCreatedDate(new Date()); competency.setLastModifiedDate(new Date()); }