12.07.2015 Views

DEV475 Mastering Object-Oriented Analysis and Design with UML ...

DEV475 Mastering Object-Oriented Analysis and Design with UML ...

DEV475 Mastering Object-Oriented Analysis and Design with UML ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Module 6 - Use-Case <strong>Analysis</strong>Review: Why Use <strong>Analysis</strong> Mechanisms?Review: Why Use <strong>Analysis</strong> Mechanisms?Oh no! I found a group of classes thathas persistent data. How am Isupposed to design these things if Idon’t even know what database we aregoing to be using?That is why we have a persistenceanalysis mechanism. We don’tknow enough yet, so we canbookmark it <strong>and</strong> come back to itlater.<strong>Analysis</strong> mechanisms are used during analysis to reduce the complexity ofanalysis, <strong>and</strong> to improve its consistency by providing designers <strong>with</strong> ashorth<strong>and</strong> representation for complex behavior.<strong>Mastering</strong> <strong>Object</strong> <strong>Oriented</strong> <strong>Analysis</strong> <strong>and</strong> <strong>Design</strong> <strong>with</strong> <strong>UML</strong>Copyright © 2003 Rational Software, all rights reserved 53An analysis mechanism represents a pattern that constitutes a common solution to acommon problem. These mechanisms may show patterns of structure, patterns ofbehavior, or both. They are used during <strong>Analysis</strong> to reduce the complexity of<strong>Analysis</strong>, <strong>and</strong> to improve its consistency by providing designers <strong>with</strong> a shorth<strong>and</strong>representation for complex behavior. <strong>Analysis</strong> mechanisms are primarily used as“placeholders” for complex technology in the middle <strong>and</strong> lower layers of thearchitecture. By using mechanisms as “placeholders” in the architecture, thearchitecting effort is less likely to become distracted by the details of mechanismbehavior.Mechanisms allow the <strong>Analysis</strong> effort to focus on translating the functionalrequirements into software concepts <strong>with</strong>out bogging down in the specification ofrelatively complex behavior needed to support the functionality but which is notcentral to it. <strong>Analysis</strong> mechanisms often result from the instantiation of one or morearchitectural or analysis patterns. Persistence provides an example of analysismechanisms. A persistent object is one that logically exists beyond the scope of theprogram that created it. During analysis, we do not want to be distracted by thedetails of how we are going to achieve persistence.This gives rise to a “persistence”analysis mechanism that allows us to speak of persistent objects <strong>and</strong> capture therequirements we will have on the persistence mechanism <strong>with</strong>out worrying aboutwhat exactly the persistence mechanism will do or how it will work.<strong>Analysis</strong> mechanisms are typically, but not necessarily, unrelated to the problemdomain, but instead are "computer science" concepts. As a result, they typicallyoccupy the middle <strong>and</strong> lower layers of the architecture. They provide specificbehaviors to a domain-related class or component, or correspond to theimplementation of cooperation between classes <strong>and</strong>/or components.6 - 53

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!