Hi,
I am required to design an 'Account' object which should hold several child collection objects as per the following tree:
Account
PhoneNumbers
PhoneNumber
Addresses
Address
Invoices
Invoice
Orders
Orders
Please advise on where should db setting and retrieving methods can be implement; is it suitable to implement those methods in collection objects (Collection saves/retrieves child objects) or in child objects (You have to invoke the save/retrieve method on each object)?
Provide with samples if available.
Thanks in advance.
Copyright (c) Marimer LLC