Examples of GatunekFilmuDTO


Examples of pl.edu.prz.kia.ntp.interfaceModule.DTO.M2.GatunekFilmuDTO

    /**
     * @param gatunek_filmu
     * @return
     */
    public static GatunekFilmuDTO toDTO(GatunekFilmu gatunek_filmu) {
        GatunekFilmuDTO dto = new GatunekFilmuDTO();
        dto.setId_gatunku_filmu(gatunek_filmu.getId_gatunku_filmu());
        dto.setNazwa(gatunek_filmu.getNazwa());
       
        return dto;
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.interfaceModule.DTO.M2.GatunekFilmuDTO

     */
    public static List<GatunekFilmuDTO> gatunekFilmuListToDTO(List<GatunekFilmu> gatunek_filmu) {
        List<GatunekFilmuDTO> dtoList;
        dtoList = new ArrayList<GatunekFilmuDTO>();
        for(GatunekFilmu entity: gatunek_filmu) {
            GatunekFilmuDTO dto;
            dto = ConversionService.toDTO(entity);
            dtoList.add(dto);
        }
        return dtoList;
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.interfaceModule.DTO.M2.GatunekFilmuDTO

    public List getList(){
        return this.gatunkiFilmow;
    }
   
    public Object createEmptyObject(){
        return new GatunekFilmuDTO();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.