Examples of Rzad


Examples of pl.edu.prz.kia.ntp.M3.entity.Rzad

        miejsce.setId_rzedu(miejsceDTO.getId_rzedu());
        return miejsce;
    }
   
    public static Rzad toEJB(RzadDTO rzadDTO){
        Rzad rzad= new Rzad();
        rzad.setId_rzedu(rzadDTO.getId_rzedu());
        rzad.setNr_rzedu(rzadDTO.getNr_rzedu());
        rzad.setId_sali(rzadDTO.getId_sali());
        return rzad;
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.M3.entity.Rzad

     * @param rzad
     * @return
     */
    public long addRzad(RzadDTO rzad) {
        M3Service service = new M3Service(em);
        Rzad entity;
        entity = ConversionService.toEJB(rzad);
        return service.addRzad(entity);
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.M3.entity.Rzad

    /**
     * @param rzad
     */
    public void removeRzad(RzadDTO rzad) {
        M3Service service = new M3Service(em);
        Rzad entity;
        entity = ConversionService.toEJB(rzad);
        service.removeRzad(entity);
    }
View Full Code Here

Examples of pl.edu.prz.kia.ntp.M3.entity.Rzad

        em.flush();
        return rzad.getId_rzedu();
    }
   
    public void removeRzad(Rzad rzad){
        Rzad r = em.find(Rzad.class, rzad.getId_rzedu());
        em.remove(r);
    }
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.