Package com.impetus.client.crud.datatypes.entities

Examples of com.impetus.client.crud.datatypes.entities.Photoo


        c.setIdProduit(123342124L);
        c.setDateStatut(new Date());
        c.setStatut(0);
        // qq photos
        List<Photoo> photos = new ArrayList<Photoo>();
        Photoo p1 = new Photoo();
        p1.setNomPhoto("Photo de Face");
        p1.setMd5("1235847EA873");
        p1.setNomFichier("photo1.jpg");
        photos.add(p1);
        Photoo p2 = new Photoo();
        p2.setNomPhoto("Photo composition");
        p2.setMd5("234847EA873");
        p2.setNomFichier("photo2.jpg");
        photos.add(p2);
        Photoo p3 = new Photoo();
        p3.setNomPhoto("Photo prix");
        p3.setMd5("5164847EA873");
        p3.setNomFichier("photo3.jpg");
        photos.add(p3);

        c.setPhotos(photos);
        em.persist(c);
        testSelect();
View Full Code Here

TOP

Related Classes of com.impetus.client.crud.datatypes.entities.Photoo

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.