Examples of GatunekFilmu


Examples of pl.edu.prz.kia.ntp.M2.entity.GatunekFilmu

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

Examples of pl.edu.prz.kia.ntp.M2.entity.GatunekFilmu

    /**
     * @param GatunekFilmu
     */
    public void removeGatunekFilmu(GatunekFilmu gatunekFilmu)
    {
        GatunekFilmu bil = em.find(GatunekFilmu.class, gatunekFilmu.getId_gatunkuFilmu());
        em.remove(bil);
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.M2.entity.GatunekFilmu

        return gatunek;
    }
   
    public void addGatunekFilmu (GatunekFilmuDTO gatunekFilmu) {
        M2Service service;
        GatunekFilmu entity;
        service = new M2Service(em);
        entity = ConversionService.toEJB(gatunekFilmu);
        service.addGatunekFilmu(entity);
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.M2.entity.GatunekFilmu

        service.addGatunekFilmu(entity);
    }
   
    public void updateGatunekFilmu(GatunekFilmuDTO gatunekFilmu){
        M2Service service;
        GatunekFilmu entity;
        service = new M2Service(em);
        entity = ConversionService.toEJB(gatunekFilmu);
        service.updateGatunekFilmu(entity);
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.M2.entity.GatunekFilmu

        entity = ConversionService.toEJB(gatunekFilmu);
        service.updateGatunekFilmu(entity);
    }
    public void removeGatunekFilmu(GatunekFilmuDTO gatunekFilmu){
        M2Service service;
        GatunekFilmu entity;
        service = new M2Service(em);
        entity = ConversionService.toEJB(gatunekFilmu);
        service.removeGatunekFilmu(entity);
    }
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.