Package beans.directory.expenditure.entity

Examples of beans.directory.expenditure.entity.ExpenditureType


    private void replaceExpenMetric(DirectoryEntity entityWhat, DirectoryEntity entityWith) {
        //ExpenditureType
        List entityList = findEntityList(ExpenditureType.class, "expenditureMetric", entityWhat);
        for (int i = 0; i < entityList.size(); i++) {
            ExpenditureType expenditureType = (ExpenditureType)entityList.get(i);
            expenditureType.setMetric((ExpenditureMetric) entityWith);
            manager.merge(expenditureType);
        }
        removeEntity(entityWhat);
        manager.flush();
    }
View Full Code Here

TOP

Related Classes of beans.directory.expenditure.entity.ExpenditureType

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.