Package sn.unitech.stock.entity

Examples of sn.unitech.stock.entity.Compte


      public static void main(String args[]){
        List<DetailEvent> listDetailEvent=new ArrayList<DetailEvent>();
        DetailEvent detailEvent=new DetailEvent();
        Stock stock=new Stock();
        SysProduit sysProduit=new SysProduit();
        sysProduit.setCompte(new Compte());
        sysProduit.getCompte().setIdCompte("1");
        stock.setSysProduit(sysProduit);
        detailEvent.setStock(stock);
        detailEvent.setEvents(new Events());
        detailEvent.getEvents().setMntTot(new Double(100000));
        detailEvent.setPrixTot(new Double(40000));
        SysUsers sysUsers=new SysUsers();
        sysUsers.setCompte(new Compte());
        sysUsers.getCompte().setIdCompte("2");
        sysUsers.setId(new SysUsersId());
        sysUsers.getId().setIdAdherent("1");
        detailEvent.getEvents().setSysUsers(sysUsers);
        detailEvent.getEvents().setSysEvents(new SysEvents());
View Full Code Here


    map.put(1,this.listICro.get(0).getEvents().getSysEvents().getIdEvent());
    this.listSysEcrits=this.getResultList(ReadProperties.getReadProperties().read("SysEcrit.jpqlEcrit"),this.em,map);
    this.listEcritures=new ArrayList<Ecritures>();
    }
    private Compte getCompte(String idCompte){
    Compte compte; 
    compte=(Compte)this.find(Compte.class, idCompte,this.em);
    return compte; 
    }
View Full Code Here

    public static void main(String args[]){
      List<DetailEvent> listDetailEvent=new ArrayList<DetailEvent>();
      DetailEvent detailEvent=new DetailEvent();
      Stock stock=new Stock();
      SysProduit sysProduit=new SysProduit();
      sysProduit.setCompte(new Compte());
      sysProduit.getCompte().setIdCompte("1");
      stock.setSysProduit(sysProduit);
      detailEvent.setStock(stock);
      detailEvent.setEvents(new Events());
      detailEvent.getEvents().setMntNet(new Double(100000));
      detailEvent.setPrixTot(new Double(40000));
      SysUsers sysUsers=new SysUsers();
      sysUsers.setCompte(new Compte());
      sysUsers.getCompte().setIdCompte("2");
      sysUsers.setId(new SysUsersId());
      sysUsers.getId().setIdAdherent("1");
      detailEvent.getEvents().setSysUsers(sysUsers);
      detailEvent.getEvents().setSysEvents(new SysEvents());
View Full Code Here

TOP

Related Classes of sn.unitech.stock.entity.Compte

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.