Package net.caece.fmII.hibernate

Examples of net.caece.fmII.hibernate.BuildingDoc


            item = null;
            return;
        }
        sub = (BuildingDocForm) item.getValue();

        BuildingDoc doc = convert(sub);

        boolean success = (new File(doc.getModelFileName())).delete();


        BuildingDocDao dao = new BuildingDocDao();
        dao.delete(doc);
View Full Code Here


        return isValid;
    }

    private BuildingDoc convert(BuildingDocForm form) {
        BuildingDoc doc = new BuildingDoc();

        doc.setBuilding(form.getBuilding());
        doc.setBuildingDocId(form.getBuildingDocId());
        doc.setModelFileExtension(form.getModelFileExtension());
        doc.setModelFileName(form.getModelFileName());
        doc.setSystemType(form.getSystemType());
        doc.setModelType(form.getModelType());
        doc.setOperateBy(operateBy);
        doc.setOperateAt(form.getOperateAt());

        return doc;
    }
View Full Code Here

TOP

Related Classes of net.caece.fmII.hibernate.BuildingDoc

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.