A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Architect Certification (SCEA/OCMJEA)
BDOM to Class Diagram
Joined: Mar 17, 2008
Mar 25, 2008 22:08:00
If I have an relationship one-to-many in BDOM between two Entities (like Orden and OrdenItem). How it's represent in Class Diagram? As an Aggregation?
Joined: Mar 19, 2008
Mar 27, 2008 00:39:00
Aggregation is the part-of relationship. It's like saying that a car has an engine and wheels as its parts.
So IMOP, if your order only contain orderItem, it should be composition, otherwise you could use aggregation.
That's my 2 cents.
The Devil Wears Cartier Trinity
subject: BDOM to Class Diagram
Passed and to share
client view in sequence diagram
business domain model
Class Diagram and Component Diagram
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013