Package net.caece.fmII.hibernate

Examples of net.caece.fmII.hibernate.EquipmentDao


        }
    }

    public void add() {
        Equipment obj = (Equipment) viewToObj(null);
        EquipmentDao dao = new EquipmentDao();
        add(dao, obj);
    }
View Full Code Here


        return true;
    }

    public void update() {
        EquipmentForm obj = (EquipmentForm) objListbox.getSelectedItem().getValue();
        EquipmentDao dao = new EquipmentDao();
        update(dao, obj);

    }
View Full Code Here

    }

    public void delete() {
        EquipmentForm obj = (EquipmentForm) objListbox.getSelectedItem().getValue();
        EquipmentDao dao = new EquipmentDao();
        delete(dao, obj);

        // empty all fields
        EquipmentForm emptyObj = new EquipmentForm();
        objToView(emptyObj);
View Full Code Here

TOP

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

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.