EasyBudget – ObjectModels

Object Models

Back to Notebook

Object Models represent the data structure for the application.

Class Diagrams

Budget Category Object Models

Each object ultimately inherits from the BaseObject class.  BudgetCategory  and BudgetItem are sibling classes, but BudgetItem is also further subclassed into IncomeItem or ExpenseItem. A BudgetCategory object holds a collection of zero or more related BudgetItem objects.

Budgeting Object Class Hierarchy and Aggregation

Banking Object Models

Also inheriting from BaseObject is another abstract class, BankAccount, that serves as base class for either CheckingAccount or SavingsAccount objects.

Banking Object Models Hierarchy and Aggregation

 

Back to Notebook