Package com.vst.dao

Examples of com.vst.dao.ConstructionDefectDao


            for (int i = 0; i < objectList.size(); i++) {
                DefectParameter defectParameter = (DefectParameter) objectList.get(i);
                Integer constructionDefectId = defectParameter.getConstructionDefectId();
                try {
                    ConstructionDefectDao constructionDefectDao = (ConstructionDefectDao) factory.getBean("constructionDefectDao");
                    ConstructionDefect constructionDefect = (ConstructionDefect) constructionDefectDao.getConstructionDefect(constructionDefectId);
                    ConstructionExampleDao constructionExampleDao = (ConstructionExampleDao) factory.getBean("constructionExampleDao");
                    ConstructionExample constructionExample = constructionExampleDao.getConstructionExample(constructionDefect.getExampleId());
                    referenceList.add("<a href='constructionDefects.html?constructionDefectId=" + defectParameter.getConstructionDefectId() + "&exampleId=" + constructionDefect.getExampleId() + "'>Параметр дефекта экземпляра конструкции - " + (constructionExample.getExampleName() == null ? String.valueOf(constructionExample.getExampleRelativeNumber()) : constructionExample.getExampleName()) + ". Тип конструкции - " + constructionExample.getConstructionType() + "</a><br/>");
                    //System.out.println("<a href='constructionDefects.html?constructionDefectId=" + defectParameter.getConstructionDefectId() + "&exampleId=" + constructionDefect.getExampleId() + "'>Параметр дефекта экземпляра конструкции - " + (constructionExample.getExampleName() == null ? constructionExample.getExampleNumber() : constructionExample.getExampleName()) + ". Тип конструкции - " + constructionExample.getConstructionType() + "</a><br/>");
                }
View Full Code Here

TOP

Related Classes of com.vst.dao.ConstructionDefectDao

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.