Package sn.unitech.stock.modal

Examples of sn.unitech.stock.modal.Noeud


      
       
  public List<Noeud> getNodesGroupProd(){
      List<Noeud> listResult=new ArrayList<Noeud>();
      for(SysGroupProd sysGroupProd:chartM.findGroupProd(readProperties.read("FamilleProduit.jpqlAllGroupProd"),defaultParametter())){
       Noeud parent=new Noeud();
       parent.setId(sysGroupProd.getIdGroupProd()+"");
       parent.setLibelle(sysGroupProd.getLibelle());
       listResult.add(parent);
       for(SysProduit sysProduit:sysGroupProd.getSysProduits()){
         Noeud fils=new Noeud();
       fils.setId(sysProduit.getIdProduit()+"");
       fils.setLibelle(sysProduit.getDesignation());
       parent.getListChildren().add(fils);
       }
       }
       return listResult; 
  }
View Full Code Here

TOP

Related Classes of sn.unitech.stock.modal.Noeud

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.