Hello everybody,
I started struggling with the part II today and when I looked at the class diagram in the Sun's
SCEA book, I noticed two things:
- Address has an unidirectional association to Customer. The navigability arrow is at the customer side, meaning that the responsibility lies on the address object. Shouldn't that be the opposite? Shouldn't a customer have a collection of addresses (home, business,shipping1, shipping 2, etc.) instead of each address having a instance variable to customer? I don't get it.
- Credit card is the same; it also has an unidirectional association to Customer.
Please help!