Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Artifact question

 
David Donovan
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If someone could answer this for me , it would be great.
If you have added a method during refactoring , which 2 artifacts need to be updated ??
I believe a class diagram is one , what would be the other ? Interaction diagram ? Use Case possibly ?
 
Jes Sie
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kosaic donovan:
If someone could answer this for me , it would be great.
If you have added a method during refactoring , which 2 artifacts need to be updated ??
I believe a class diagram is one , what would be the other ? Interaction diagram ? Use Case possibly ?

Should be both, but if I were to choose only one, then it would be Interaction Diagram as opposed to Use Case. Why? Because Refactoring occurs mostly at the specification phases. Interaction diagram makes a lot more sense than during that phase as opposed to raw use case.

------------------
Thank you.
- Simon See
simon-ivy@usa.net
-after office hours-
necro-mani-cide
 
Qudsia Jaffery
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree, refactoring shold not effect the basic functionality of the product, it will only affect how you are achieving that functionality, hence your Use Case sholud not be affected, only your Interaction diagram
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic