Uses of Class
no.ntnu.idatt1002.demo.data.economics.IncomeRegister
Packages that use IncomeRegister
-
Uses of IncomeRegister in no.ntnu.idatt1002.demo.controller
Methods in no.ntnu.idatt1002.demo.controller that return IncomeRegisterModifier and TypeMethodDescriptionFinanceController.loadIncomeDataFromFile
(String fileDestination) Method that either reads data from a file with which it fills an income register, if older changes exist, or instantiates an income register if the file is empty.MainMenuController.loadIncomeDataFromFile
(String fileDestination) Method that either reads data from a file with which it fills an income register, if older changes exist, or instantiates an income register if the file is empty. -
Uses of IncomeRegister in no.ntnu.idatt1002.demo.data.economics
Methods in no.ntnu.idatt1002.demo.data.economics that return IncomeRegisterModifier and TypeMethodDescriptionIncomeRegister.getIncomeByCategory
(IncomeCategory category) Method for getting every Income in a given IncomeCategory.IncomeRegister.getIncomeByMonth
(YearMonth yearMonth) Get the Income that are registered with a date corresponding to the given month and year.Overview.getIncomeRegister()
Get the IncomeRegister of the Overview.IncomeRegister.getRecurringIncome()
Get the Income that are recurring.static IncomeRegister
FileHandling.readIncomeRegisterFromFile
(String fileDestination) Method for reading (getting) an IncomeRegister from a file.Constructors in no.ntnu.idatt1002.demo.data.economics with parameters of type IncomeRegisterModifierConstructorDescriptionOverview
(IncomeRegister incomeRegister, ExpenseRegister expenseRegister, GeneralBudget budget) Class constructor that takes in an incomeRegister and expenseRegister and calculates total balance based on them.