uml

25
Unified Modeling Language [UML]

Upload: pradeepfdo

Post on 17-Dec-2014

3.789 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Uml

Unified Modeling Language

[UML]

Page 2: Uml

•UML

•UML diagrams

•UML diagram classification

•Class diagrams

•Sequence diagrams

agenda

Page 3: Uml

UML

Standard methodology language for specifying, visualizing, constructing, and documenting all the work products or artifacts of a software system.

the reasons behind modeling can be summed up in two words:

• readability – ( brings clarity – ease of understanding )

• reusability

Page 4: Uml

MODEL

A model is a pattern of something to be made.

It’s a representation of something in the real world.

Page 5: Uml

UML is . . .

•NOT a method or methodology.•does NOT indicate a particular

process.•NOT a programming language

Page 6: Uml

UML diagrams1. use case 2. class3. sequence4. collaboration5. state 6. activity

7. component8. deployment9. entity-relationship

Page 7: Uml

UML diagram classification

• Static• Dynamic• Implementation

Page 8: Uml

• Static

• Dynamic

• Implementation

• use case

• class

• sequence

• collaboration

• state

• activity

• deployment

• component

Page 9: Uml

use case dgms

• DESCRIBES the relationships and dependencies between a group of Use Cases and the Actors participating in the process.

• NOT suited to represent the design, and canNOT describe the internals of a system.

• It tells , what the system should do but do NOT — and canNOT — specify how this is to be achieved.

Page 10: Uml

actor & useCase

• Actors is an external entity (outside of the system) that interacts with the system by participating (and often initiating) a Use Case.

• Actors do NOT represent the physical people or systems, but their role.

• UseCase descriptions explains the processes or activities that take place in the Use Case.

Page 11: Uml

• It’s related to at least one actor.

• Has an initiator (i.e. an actor).

• Leads to a relevant result (a result with “business value”).

use case dgms contd . . .

Page 12: Uml

class dgms

• Class defines the attributes and the methods of a set of objects.

• In UML, Classes are represented by rectangles, with the name of the class, and can also show the attributes and operations of the class in two other “compartments” inside the rectangle.

Page 13: Uml

• + for public

• # for protected

• - for private

Page 14: Uml

generalization

BASE

DERIVED

associationsEMPLOYEECOMPANY 1 1..

*

aggregation

WHEELCAR

composition

CHAPTERBOOK 1.. *

Page 15: Uml

sequence dgms

• Shows the message exchange (i.e. method call) between

several Objects in a specific time-delimited situation.

• Objects are represented through vertical dashed lines, with

the name of the Object on the top. The time axis is also

vertical, increasing downwards, so that messages are sent

from one Object to another in the form of arrows with the

operation and parameters name.

Page 16: Uml

States dgms

• Shows the different states of an Object during its life and the stimuli that cause the Object to change its state.

Page 17: Uml

activity dgms

• It describes the sequence of activities in a system with the help of Activities. Activity Diagrams are a special form of State Diagrams, that only (or mostly) contains Activities.

Page 18: Uml

EA diagram classification

Behavioral

Structural

Page 19: Uml

Behavioral Diagrams

Portrays the behavioral features of a system or business function.

1)Activity Diagrams

2)Use Case Diagrams

3)State Machine Diagrams

4)Timing Diagrams

5)Sequence Diagrams

6)Communication Diagrams

7)Interaction Overview Diagrams

Page 20: Uml

Structural Diagrams

Portrays the structural elements composing a system or function.

1)Class Diagrams

2)Composite Structure Diagrams

3)Component Diagrams

4)Deployment Diagrams

5)Object Diagrams

6)Package Diagrams

Page 21: Uml

Class diagrams

Page 22: Uml
Page 24: Uml
Page 25: Uml

Merci