File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes BDOM to Class Diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "BDOM to Class Diagram" Watch "BDOM to Class Diagram" New topic
Author

BDOM to Class Diagram

José Nunes
Greenhorn

Joined: Mar 17, 2008
Posts: 8
Hi,

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?

Thanks.
Ethan Zhang
Ranch Hand

Joined: Mar 19, 2008
Posts: 46
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.

Thanks


The Devil Wears Cartier Trinity
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BDOM to Class Diagram