Package org.internna.ossmoney.model.budget

Examples of org.internna.ossmoney.model.budget.MonthlyBudget.persist()


    budget.persist();
    for (int i = 0; i < 12; i++) {
      MonthlyBudget monthlyBudget = new MonthlyBudget();
      monthlyBudget.setBudget(budget);
      monthlyBudget.setBudgetedMonth(i);
      monthlyBudget.persist();
      budget.getMonthlyBudgets().add(monthlyBudget);
    }
    budget.merge();
    return budget;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.