Package org.sis.ancmessaging.dto

Examples of org.sis.ancmessaging.dto.GareDTO


    Gott gott = healthPostService.findGottById(gareGottId);
    healthPostService.addGareToGott(gare, gott);
    List<Gare> gares = healthPostService.getAllGaresForGott(gareGottId);
    List<GareDTO> gareDTOs = new ArrayList<GareDTO>();
    for (Gare g : gares) {
      GareDTO gDTO = new GareDTO();
      gDTO.setGareId(g.getGareId());
      gDTO.setGareName(g.getGareName());
      gDTO.setGareGottId(gareGottId);
      gareDTOs.add(gDTO);
    }
    return gareDTOs;
  }
View Full Code Here

TOP

Related Classes of org.sis.ancmessaging.dto.GareDTO

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.