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.

<strong>DEV475</strong> <strong>Mastering</strong> <strong>Object</strong>-<strong>Oriented</strong> <strong>Analysis</strong> <strong>and</strong> <strong>Design</strong> <strong>with</strong> <strong>UML</strong>What Is Hierarchy?What Is Hierarchy?IncreasingabstractionAssetBankAccountSecurityRealEstateSavingsCheckingStockBondDecreasingabstractionElements at the same level of the hierarchyshould be at the same level of abstraction.<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 22Hierarchy can be defined as:Any ranking or ordering of abstractions into a tree-like structure. Kinds: Aggregationhierarchy, class hierarchy, containment hierarchy, inheritance hierarchy, partitionhierarchy, specialization hierarchy, type hierarchy. (Dictionary of <strong>Object</strong> Technology,Firesmith, Eykholt, 1995)• Hierarchy organizes items in a particular order or rank (for example, complexity<strong>and</strong> responsibility). This organization is dependent on perspective. Using ahierarchy to describe differences or variations of a particular concept provides formore descriptive <strong>and</strong> cohesive abstractions <strong>and</strong> a better allocation ofresponsibility.• In any one system, there may be multiple abstraction hierarchies (for example, afinancial application may have different types of customers <strong>and</strong> accounts).• Hierarchy is not an organizational chart or a functional decomposition.• Hierarchy is a taxonomic organization. The use of hierarchy makes it easy torecognize similarities <strong>and</strong> differences. For example, botany organizes plants intofamilies. Chemistry organizes elements in a periodic table.2 - 22

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

Saved successfully!

Ooh no, something went wrong!