Uses of Class
no.ntnu.idatt1002.demo.data.economics.ExpenseRegister
Packages that use ExpenseRegister
-
Uses of ExpenseRegister in no.ntnu.idatt1002.demo.controller
Methods in no.ntnu.idatt1002.demo.controller that return ExpenseRegisterModifier and TypeMethodDescriptionFinanceController.loadExpenseDataFromFile
(String fileDestination) Method that either reads data from a file with which it fills an expense register, if older changes exist, or instantiates an expense register if the file is empty.MainMenuController.loadExpenseDataFromFile
(String fileDestination) Method that either reads data from a file with which it fills an expense register, if older changes exist, or instantiates an expense register if the file is empty. -
Uses of ExpenseRegister in no.ntnu.idatt1002.demo.data.economics
Methods in no.ntnu.idatt1002.demo.data.economics that return ExpenseRegisterModifier and TypeMethodDescriptionExpenseRegister.getExpenseByCategory
(ExpenseCategory category) Method for getting every Expense in a given ExpenseCategory.ExpenseRegister.getExpenseByMonth
(YearMonth yearMonth) Get the Expenses that are registered with a date corresponding to the given month and year.Overview.getExpenseRegister()
Get the ExpenseRegister of the Overview.ExpenseRegister.getRecurringExpense()
Get the Expenses that are recurring.static ExpenseRegister
FileHandling.readExpenseRegisterFromFile
(String fileDestination) Method for reading (getting) an ExpenseRegister from a file.Constructors in no.ntnu.idatt1002.demo.data.economics with parameters of type ExpenseRegisterModifierConstructorDescriptionOverview
(IncomeRegister incomeRegister, ExpenseRegister expenseRegister, GeneralBudget budget) Class constructor that takes in an incomeRegister and expenseRegister and calculates total balance based on them.