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
I agree. Here's the link:
subject: BDOM to Class Diagram
Class Diagram and Component Diagram
client view in sequence diagram
business domain model
Passed and to share
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015