uml

15
Ali Kasraei

Upload: omid-aminzadeh-gohari

Post on 13-Jul-2015

46 views

Category:

Documents


0 download

TRANSCRIPT

Ali Kasraei

UML

Unified Modeling Language is a standardizedgeneral-purpose modeling language in the fieldof object-oriented software engineering. Thestandard is managed, and was created by, theObject Management Group.

UML Diagrams

• Class Diagrams

• Use Case Diagrams

• Sequence Diagrams

• UML State Machine

Class Diagram

Describes the structure

of a system by

showing the system's

classes, their

attributes, and the

relationships among

the classes.

Case Diagram

Case Diagram

Window

size: Size

visibility: boolean

display()

hide()

Class Name

Attributes

Operations

Relationship types

Use Case Diagram

Describes the functionality provided by a system

in terms of actors, their goals represented as use

cases, and any dependencies among those use

cases.

Sequence Diagram

Shows how objects communicate with each otherin terms of a sequence of messages. Also indicatesthe lifespan of objects relative to those messages.

State Machine

Describes the functionality provided by a system in terms of actors, their goals represented as use cases, and any dependencies among those use cases.