Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uneccessary and innacurate information in DG EntryList UML diagram #15

Open
Arif-Khalid opened this issue Apr 14, 2023 · 1 comment
Open

Comments

@Arif-Khalid
Copy link
Owner

Arif-Khalid commented Apr 14, 2023

The reference arrows from EntryList to Entry already implies the reference that ExpenseList and IncomeList have to Entry, there is no need to draw more reference arrows from those specific classes. This in fact implies that there is multiple Arrays of Entry, one in EntryList and one in its child.
image.png

@nus-pe-script
Copy link

nus-pe-script commented Apr 18, 2023

Team's Response

Hi, there are indeed multiple arrays of Entry, one in each subclass (IncomeList, ExpenseList). From the UML diagram, IncomeList and ExpenseList classes both have an attribute of incomeList and expenseList respectively, which is why there is a reference arrow pointing to the Entry class. The EntryList super class does not contain an attribute of entryList, because we want to seperate the income and expense into their respective incomeList and expenseList. The EntryList super class only contains methods that are related to the EntryList class, which will be inherited by the sub classes for their method calls.

Items for the Tester to Verify

❓ Issue response

Team chose [response.Rejected]

  • I disagree

Reason for disagreement: After seeing your response to my issue about the dependency arrow, I agree this is a duplicate issue stemming from that misunderstanding. It should be classified as such. The multiplicity of the dependencies is a clear error that needs to be remedied because as we have found out it can cause a lot of misunderstanding.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants