1. ANAPERSIS TI
Humdiana
Source: Whitten
Perancangan dan pemodelan
berorientasi objek (OO) menggunakan
UML
Chap 18
2. An Introduction to OODesign
OOD an approach used to specify the software
solution in terms of collaborating objects, their
attributes, and their methods
See page 686
Design Object: in OOA we concentrated on
identifying the objects that represent actual data
within the business domain.
Entity Object
Interface Object
Control Object
3. An Introduction to OODesign (cont)
Design Relationships
In OOA we concentrated on identyfying the most
common object relationships: associations,
aggregation relationships, and
generalization/spec rel. In OOD it is neccesary to
model more advanced relationships in order to
accurately specify the software components.
Dependency Relationships
Navigability
4. An Introduction to OODesign (cont)
Attributed and Method Visibility
Public dg notasi “+”
Protected dg notasi “#”
Private dg notasi “—”
See figure 18-3
5. An Introduction to OODesign (cont)
• Object Responsibilities
=>methods
=>object’s responsibility
see figure 18-4
• Object Reusability see figure 18-5
6. The Process of Object Design
In performing OOA we defined use cases and
identified objects based on ideal conditions and
independent of any hardware and software
solution. During OOD, we want to refine those
use cases and objects to reflect the actual
environment of our proposed solution.
7. The Process of Object Design
Refining the Use-Case Model to Replect the
implementation environment (2 step)
Modeling Object interaction and behaviors that
support the use-case scenario (5 step)
Updating the object model to reflect the
implementation environment
8. Additional UML Design and
Implentation Diagrams
The UML offers three additional diagrams for modeling
design and implementation aspects of the system –
activity diagrams, component diagrams, and deployment
diagrams.
See figure 18 -18,19