예제 #1
0
  @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());
  }
예제 #2
0
  @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());
  }