UML Class Diagram

Hello everyone,

I was asked to produce UML Class diagram (for charity), but I am new to it and I found allot of ways of doing them. I would like to get some comments from experienced people. Basically what are logical question to ask when link classes and other tips to produce them.
Here is mine first: class diagram
LVL 16
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

It looks pretty good to me. I don't know what a Trolley is.
Can one payment cover multiple orders? I could see how that could be the case (that is how you currently have it)

Do the orders have a shipping address separate from the customer? I'm doubting that association line between the order and address book (especially since I don't see the shipping address listed in the variables for Order).
SSupremeAuthor Commented:
Thanks for response.
Trolley is shopping trolley like, you put all goods there and then go to check out, is it called "order line"?
I think one payment for each trolley as as trolley per order.

Customer can have his own list of addresses for shipment. S/He can add new address by entering postcode and flat or house number, some customers can have identical addresses.
Probably, database with addresses will be outsourced from another company, which could provide this service.

Does it sound  relative to diagram?
Ah, we call them Shopping Carts out here in the West.

Okay. I would rename Address Book to just Address, so it will make sense for a customer to have multiple addresses.

I would use the open diamond (aggregation) to show that the trolley contains products and have 1 trolley to 0...* items.

There should be a one to one between trolley and order. I agree with the closed diamond (containment). From what you say, there should also be a one to one from order to payment not many to many.

Other than that, it looks great.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SSupremeAuthor Commented:
Thanks a lot for comments.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Project Management

From novice to tech pro — start learning today.