Package com.cin.entity

Examples of com.cin.entity.WagePK


    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 {
View Full Code Here


      return wage.getMeanweekwage();
    }
  }
 
  public void setMeanWage(WageDTO wageDTO) {
    WagePK key = new WagePK();
    key.setIndustrycode(wageDTO.getIndustryCode());
    key.setOccupationcode(wageDTO.getOccupationCode());
   
    Wage wage = manager.find(Wage.class, key);
    if( wage == null ){
      wage = new Wage();
      wage.setIndustrycode(wageDTO.getIndustryCode());
View Full Code Here

TOP

Related Classes of com.cin.entity.WagePK

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.