Uses of Class
no.ntnu.idatt1002.demo.data.budget.SavingsGoal
Packages that use SavingsGoal
-
Uses of SavingsGoal in no.ntnu.idatt1002.demo.data.budget
Methods in no.ntnu.idatt1002.demo.data.budget that return SavingsGoalModifier and TypeMethodDescriptionSavings.getSavingsGoal
(SavingsGoal savingsGoal) Get a specific SavingsGoal from savingsGoals.Methods in no.ntnu.idatt1002.demo.data.budget that return types with arguments of type SavingsGoalModifier and TypeMethodDescriptionSavings.getAchievedSavingsGoal()
A List of all SavingsGoal that are achieved.Savings.getSavingsGoals()
Get List of SavingsGoals.Methods in no.ntnu.idatt1002.demo.data.budget with parameters of type SavingsGoalModifier and TypeMethodDescriptionvoid
Savings.addSavingsGoal
(SavingsGoal savingsGoal) Add a SavingsGoal to Savings.void
Savings.addToSavingsGoal
(int amount, SavingsGoal savingsGoal) Method for adding an amount to a SavingsGoal.Savings.getSavingsGoal
(SavingsGoal savingsGoal) Get a specific SavingsGoal from savingsGoals.boolean
Savings.hasSavingsGoal
(SavingsGoal savingsGoal) Method to check if savingsGoals contains a specific SavingsGoal.Constructor parameters in no.ntnu.idatt1002.demo.data.budget with type arguments of type SavingsGoalModifierConstructorDescriptionSavings
(ArrayList<SavingsGoal> savingsGoals) Class constructor that sets savingsGoals to a given ArrayList and amount to zero.Savings
(ArrayList<SavingsGoal> savingsGoals, double amount) Class constructor that sets savingsGoals to a given ArrayList and amount to a given double.