Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UML diagram, difficulty reading

 
George Avilez
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:

2013-10-09 15.42.18.jpg
UML pic
[Thumbnail for 2013-10-09 15.42.18.jpg]
 
Campbell Ritchie
Sheriff
Pie
Posts: 47250
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please always tell us where such information is from.
What do you understand about the black diamond arrowhead in UML diagrams?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic