ITEC 401402 Seminar - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

ITEC 401402 Seminar

Description:

Class Diagram Example. Lets analyze the simplest class diagram created for a library system. ... the two versions of creating activity diagrams by using the use ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 23
Provided by: sensev
Category:
Tags: itec | register | seminar

less

Transcript and Presenter's Notes

Title: ITEC 401402 Seminar


1
ITEC 401-402 Seminar
  • On UML Diagrams
  • by Sensev Alicik

2
What is UML?
  • UML, short for Unified Modeling Language, is a
    set of modeling convention that is used to
    specify or describe a software system in terms of
    objects.
  • There are a number of different UML diagrams that
    provides a look of the system from different
    perspectives.

3
UML Diagrams
  • Some of these diagrams we will learn about today
    are
  • Use Case diagrams
  • Use Case descriptions
  • Class diagrams
  • Activity diagrams
  • Sequence diagrams
  • Collaboration diagrams

4
What are Use Case Diagrams?
  • Use cases are descriptions of the functionality
    of the system from the users perspective.
  • They show the functionality that the system will
    provide and show which users will communicate
    with which system functions.
  • When developing a project the starting point
    should be creating your use cases, in other
    words, deciding on the system functions.

5
Use Case Example
  • Lets analyze a simple use case diagram created
    for a library system.

6
Typical format of a Use Case Description
Author
Date
7
Use Case Description for registering a user
Author
Date
8
What are Class Diagrams?
  • Class diagrams depict the systems object
    structure.
  • They show the object classes that the system is
    composed of as well as the relationship between
    those object classes.
  • Each class represents its own set of methods,
    operations and attributes.

9
Class Diagram Example
  • Lets analyze the simplest class diagram created
    for a library system.

can be borrowed
can borrow
10
Activity Diagrams
  • Activity diagrams can be used to model different
    aspects of the system.
  • The common use of activity diagrams is modeling
    the system functions represented by a use case,
    possibly using object flows to show which objects
    are involved in the in a specific use case.
  • In summary activity diagrams are used for the
    following purposes
  • To model a task
  • To describe a system function that is represented
    in the use case
  • To describe the logic of an operation
  • To model the activities that make up the
    lifecycle.

11
Activity Diagrams
  • Activity diagrams make it possible to represent
    the three structural components of all procedural
    programming languages sequences, selections and
    iterations.
  • There are two-ways in which objects can be shown
    in activity diagrams
  • the operation signature of an object can be shown
    as the name of an activity
  • an object can be shown as providing the input to
    or output of an activity.

12
Lets analyze one of the two versions of creating
activity diagrams by using the use case event
Borrow a book .
13
Lets analyze the second version of creating an
activity diagram by using the same use case event
borrow a book.
14
Collaboration and Sequence Diagrams
  • Use case realizations are defined using
    interaction diagrams, of which are found in two
    types collaboration and sequence.
  • Collaboration diagrams show classifier and
    association roles, and superimpose messages on
    association roles while sequence diagrams show
    classifier roles only, but make the sequencing of
    messaging very clear. One or the other form may
    be preferable.

15
Collaboration and Sequence Diagrams
  • As well as showing sequences of messages, both
    types of interaction diagrams can explicitly show
    the creation and deletion of objects, iterated
    and conditional message passing, and objects
    sending messages to themselves.
  • The main difference between the two forms of
    diagrams is the way they show the order in which
    messages are sent.

16
Example of Collaboration Diagramfor the use case
event borrow a book
17
Example of Sequence Diagram for the use case
event borrow a book
18
What Diagrams are Needed for ITEC401 Report ?
  • General Use Case Diagram
  • Partial Use Case Diagrams
  • Use Case Realization
  • Class Diagram
  • Activity Diagram

19
What Diagrams are Needed for ITEC402 Report ?
  • General Use Case Diagram
  • Partial Use Case Diagrams
  • Use Case Realization
  • Class Diagram
  • Sequence/Collaboration Diagram

20
What Diagrams are Needed for Multimedia Project
Reports ?
  • General Use Case Diagram
  • Partial Use Case Diagrams
  • Use Case Realization
  • Activity Diagram

21
THE END
  • Thank You For Your Attention !!!

22
  • Get Appointment From
  • sensev.alicik_at_emu.edu.tr
Write a Comment
User Comments (0)
About PowerShow.com