Examples of SysActiviTypUnitId


Examples of sn.unitech.stock.entity.SysActiviTypUnitId

      /*  Verifie si unite existe avant de l'inserer */
    if((this.find(SysTypUnite.class,sysUnite.getSysTypUnite().getIdTypUnite(),em))==null){
       this.persist(sysUnite.getSysTypUnite(), em);
    }
      /*  Verifie si type unite existe dans l'activite avant de l'inserer */
    SysActiviTypUnitId sysActiviTypUnitId=new SysActiviTypUnitId(sysUnite.getSysTypUnite().getIdTypUnite(),Integer.parseInt(idActivite));
    if(this.find(SysActiviTypUnit.class,sysActiviTypUnitId, em)==null){
    SysActiviTypUnit sysActiviTypUnit=new SysActiviTypUnit();
    sysActiviTypUnit.setId(sysActiviTypUnitId);
    sysActiviTypUnit.setSysActivite(new SysActivite(Integer.parseInt(idActivite)));
    sysActiviTypUnit.setSysTypUnite(sysUnite.getSysTypUnite());
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.