Package no.ugland.utransprod.model

Examples of no.ugland.utransprod.model.Cutting


    }

    private CuttingManager insertCutting(final String proId,final Boolean overwrite) throws Exception {
        OrderManager orderManager=(OrderManager)ModelUtil.getBean(OrderManager.MANAGER_NAME);
        Order order =  orderManager.findByOrderNr("49838");
        Cutting cutting = new Cutting();
        cutting.setProId(proId);
        cutting.setVersion("110");
        cutting.setProSign("JW");
        cutting.setOrder(order);
       
        CuttingLine line = new CuttingLine();
        line.setName("KAP");
        line.setCutId("1");
        line.setCutLine("cutLine");
        line.setLineNr(1);
        line.setArea("area");
        line.setDelPcBelongsTo("aDelPcBelongsTo");
        line.setDepth("aDepth");
        line.setDescription("aDescription");
        line.setGrade("aGrade");
        line.setGrossLength("aGrossLength");
        line.setLengthCenter("aLengthCenter");
        line.setNumberOf("aNumberOf");
        line.setTickness("aTickness");
        line.setTimberMarking("aTimberMarking");
        line.setTotalLength("aTotalLength");
       
        cutting.addCuttingLine(line);
        CuttingManager cuttingManager = (CuttingManager)ModelUtil.getBean(CuttingManager.MANAGER_NAME);
        cuttingManager.saveCutting(cutting,overwrite);
        return cuttingManager;
    }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.model.Cutting

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.