File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes UML diagram, difficulty reading Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "UML diagram, difficulty reading" Watch "UML diagram, difficulty reading" New topic

UML diagram, difficulty reading

George Avilez
Ranch Hand

Joined: Apr 26, 2013
Posts: 60
I'm having trouble trying to translate a part in the uml diagram that I have attatched. It's the +addPizzaToOrder(in char size, in boolean pepperoni, in boolean suasage, in boolean mushrooms).
I guess they are asking me to put a filled constructor from a main class into that addPizza constructor. They way I have it is not correct I believe beacuse if I re-write to the addPizza then I just get an error to put a return statement.

Not sure if you need the other class but here it is:

[Thumbnail for 2013-10-09 15.42.18.jpg]

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 43397
Please always tell us where such information is from.
What do you understand about the black diamond arrowhead in UML diagrams?
I agree. Here's the link:
subject: UML diagram, difficulty reading
jQuery in Action, 3rd edition