Package org.internna.ossmoney.model.budget

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


  }

  protected Budget createBudget(UserDetails user) {
    Budget budget = new Budget();
    budget.setOwner(user);
    budget.persist();
    for (int i = 0; i < 12; i++) {
      MonthlyBudget monthlyBudget = new MonthlyBudget();
      monthlyBudget.setBudget(budget);
      monthlyBudget.setBudgetedMonth(i);
      monthlyBudget.persist();
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.