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 2 - Concepts of <strong>Object</strong> OrientationWhat Is a Subsystem?What Is a Subsystem?• A combination of a package (can contain othermodel elements) <strong>and</strong> a class (has behavior)• Realizes one or more interfaces which defineits behaviorSubsystemRealizationInterfaceSubsystemNameInterface1OO Principles: Encapsulation <strong>and</strong> Modularity<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 33(stay tuned for realization relationships)A subsystem is a model element that has the semantics of a package, such that it cancontain other model elements, <strong>and</strong> a class, such that it has behavior. (The behavior ofthe subsystem is provided by classes or other subsystems it contains.) A subsystemrealizes one or more interfaces, which define the behavior it can perform.From the <strong>UML</strong> User’s Guide (Booch, 1999): A subsystem is “a grouping of elements ofwhich some constitute a specification of the behavior offered by the other containedelements.”A subsystem may be represented as a stereotyped package.The realization relationship will be discussed later in this module.2 - 33

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

Saved successfully!

Ooh no, something went wrong!