Package com.cin.dto

Examples of com.cin.dto.EmploymentStatusDTO


      return theZipDTO; 
  }
public List<EmploymentStatusDTO> translateToEmploymentStatusDTO(Collection<?> pEmploymentStatusEntity) {

  List<EmploymentStatusDTO> theEmploymentStatusDTO = new ArrayList<EmploymentStatusDTO>();
  EmploymentStatusDTO aDTO = null;
  for(Object aEmploymentstat : pEmploymentStatusEntity) {
   
    aDTO = new EmploymentStatusDTO((Employmentstat)aEmploymentstat);
    theEmploymentStatusDTO.add(aDTO);
  }
    return theEmploymentStatusDTO; 

 
View Full Code Here


      stmt.setInt(1, ssn);
      stmt.execute();
     
      ResultSet rs = stmt.getResultSet();
      if( rs.next() ){
        EmploymentStatusDTO dto = new EmploymentStatusDTO();
        dto.setEmploymentStatus(rs.getString("employmentstat"));
        dto.setUnemploymentReason(rs.getString("unemploymentreason"));
        return dto;
      } else {
        return null;
      }
    }finally{
View Full Code Here

      // aDTO.getZip();

      List<UserDTO> theUserDetails = userFactory.findUserForZip(Integer
          .parseInt(aDTO.getZip()));
      for (UserDTO bDTO : theUserDetails) {
        EmploymentStatusDTO employmentStatusDTO = bDTO
            .getEmploymentStatus();
        if (employmentStatusDTO.getEmploymentStatus().equals(
            "unemployed")) {
          unemployed++;
        }
        if (employmentStatusDTO.getEmploymentStatus().equals("pt")) {
          employed++;
        }
        if (employmentStatusDTO.getEmploymentStatus().equals(
            "full-time")) {
          employed++;
        }

      }
View Full Code Here

TOP

Related Classes of com.cin.dto.EmploymentStatusDTO

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.