The UML includes class diagrams to illustrate classes, interfaces and their associations.

1 / 13
About This Presentation
Title:

The UML includes class diagrams to illustrate classes, interfaces and their associations.

Description:

They are used for static object modeling Fig. 16.1 shows a common class diagram notation Fig. 16.2 Design Class Diagram Visualiaze a domain model A class diagram used ... –

Number of Views:167
Avg rating:3.0/5.0
Slides: 14
Provided by: Dmit98
Category:

less

Transcript and Presenter's Notes

Title: The UML includes class diagrams to illustrate classes, interfaces and their associations.


1
Chapter 16
2
  • The UML includes class diagrams to illustrate
    classes, interfaces and their associations.
  • They are used for static object modeling

3
Fig. 16.1 shows a common class diagram notation
4
Fig. 16.2 Design Class Diagram
Visualiaze a domain model
A class diagram used in a software or design
perspective.
5
Fig. 16.3 ways to show UML Attributes
Attribute text
Association line
both
6
Fig. 16.7
How to show Methods in Class diagrams
A uml method is the implementation af an
operation. Here we are mixing static and dynamic
views in the same diagram, because the method
body (which defines dynamic behavior) adds a
dynamic element to the static class diagram
7
Generalization is in UML shown with a solid line
and a fat triangular arrow from the subclass to
the superclass (see figur 16.1) (it mens that
each instance of the specific classifier is also
an indirect instance of the general classifier.
Another name is inheritance. Dependency
indicates that a client element of any kind
(classes, packages, usecases and so on) has
knowlegde of another supplier element and that a
change in the supplier could affect the client-
Dependency is illustrated with a dashed arrow
line from the client to supplier see next
slide.
8
Fig. 16.9
9
Fig. 16.12
10
Fig. 16.13
Composition means has. Like one hand has 0 to 7
fingers
11
Fig. 16.16
12
Fig. 16.17
Singelton thetre is only one instance of the
class instantiated
13
Fig. 16.21
Write a Comment
User Comments (0)
About PowerShow.com