aTranslator.translateToOccupationDTO(result);
return theOccupation;
}
public int getMeanWage(WageDTO wageDTO) {
WagePK key = new WagePK();
key.setIndustrycode(wageDTO.getIndustryCode());
key.setOccupationcode(wageDTO.getOccupationCode());
Wage wage = manager.find(Wage.class, key);
if( wage == null ){
throw new RuntimeException("Requested wage info not found.");
} else {