Package org.objectweb.speedo.pobjects.detach.groupama

Examples of org.objectweb.speedo.pobjects.detach.groupama.CommuneHelper


    convention2.setCdmem(marque2.getCdmem());
    marque2.addConvention(convention2);
    intervenant1.addConvention(convention2);
 
    //create 2 communes
    CommuneHelper commune1 = new CommuneHelper();
    commune1.setId(1);
    commune1.setDummy("commune1");
    CommuneHelper commune2 = new CommuneHelper();
    commune2.setId(2);
    commune2.setDummy("commune2");
   
    //create 2 zg
    ZoneGeographiqueHelper zg1 = new ZoneGeographiqueHelper();
    zg1.setId(1);
    // commune 1 <-> * zonegeographique
    zg1.setCommune(commune1);
    commune1.addZoneGeographique(zg1);
    ZoneGeographiqueHelper zg2 = new ZoneGeographiqueHelper();
    zg2.setId(2);
    // commune 1 <-> * zonegeographique
    zg2.setCommune(commune2);
    commune2.addZoneGeographique(zg2);
   
    // convention 1 <-> * zonegeographique
    convention1.addZoneGeographique(zg1);
    zg1.setConvention(convention1);
    convention1.addZoneGeographique(zg2);
 
View Full Code Here

TOP

Related Classes of org.objectweb.speedo.pobjects.detach.groupama.CommuneHelper

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.