Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

New to UML Design Docs

 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to laying out design documents. I have a service class that calls
a method in a factory which will return 1 of three classes. The 3 classes
are extended from an abstract class which provides the interface. The factory will return 1 of the 3 subclasses depending on what is passed to it. The usual factory setup. The problem is I'm not sure how to show this in a uml design document. If anyone has experience in writing uml design docs, I would appreciate some advice.

thanks.
 
Joe Lank
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm also fairly new to UML design and such.

I'm familiar with the development process(Design, Coding, Testing), but my knowledge about creating and implementing UML(Class Diagrams, Object Diagrams, Sequence Diagrams, State Chart Diagrams) is lax, as I am taking a summer class to introduce me to these fundamental concepts.

Could someone please post a URL for a site that will properly instruct me as to their creation and usage when programming?

PS - These forums are great, though the use of 'Search' should be relied upon more heavily, as most questions have already been answered.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We send many people to Scott Ambler's http://www.AgileModeling.com site. Search around the articles - there are several with samples of all the models. Post whatever helps you back here so we'll know what's good! Cheers!
 
Marlene Miller
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
UML Distilled by Martin Fowler
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at our UML FAQ: http://faq.javaranch.com/view?UmlFaq
 
Barry Brashear
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I have been looking for is an example of a sequence diagram where the class diagram is using a factory pattern to create 1 of 3 possible sub-classes of a base class.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic