Разделы презентаций


UML Basics

Содержание

AgendaUML in Telelogic Tau G2 First stepsIntroduction in LanguageTelelogic Tau and G2 compatibility (SDL/MSC to UML)Project exampleCoffee Machine

Слайды и текст этой презентации

Слайд 1UML Basics
Pavel Drobintsev
Tools and Technology Engineer
St. Petersburg Software Centre




UML BasicsPavel DrobintsevTools and Technology Engineer St. Petersburg Software Centre

Слайд 2Agenda
UML in Telelogic Tau G2
First steps
Introduction in Language
Telelogic Tau

and G2 compatibility (SDL/MSC to UML)

Project example
Coffee Machine

AgendaUML in Telelogic Tau G2 First stepsIntroduction in LanguageTelelogic Tau and G2 compatibility (SDL/MSC to UML)Project exampleCoffee

Слайд 3Important References
Telelogic Tau G2 user’s documentation
The UML standards (“Specifications”) are

available at:
http://www.omg.org/uml
Examples
Introduction in TAU G2
UML language description
TAU G2 environment
TAU G2

installation
Important ReferencesTelelogic Tau G2 user’s documentationThe UML standards (“Specifications”) are available at:http://www.omg.org/umlExamplesIntroduction in TAU G2UML language descriptionTAU

Слайд 4Main questions
• Why choose UML 2.0 to visualize information?
It provides

a single, standardized, powerful language for precisely describing
systems design and

software design, which can be interchanged with other
UML 2.0 users.

• How cans UML 2.0 help create effective solutions?
It gives systems engineers a way to visually define the information they want
to describe, such as architecture, interfaces, and functional requirements.
However, this visual description is more than pictures; it is precise and can be
automatically checked.

• How does UML 2.0 help manage technical complexity?
It gives systems engineers the means to visually describe technically complex
information, in ways which reflect the development process, completely
specify the behavior of complex systems and can be tested during design creation.

• How else cans UML 2.0 help systems engineers?
It increases reuse within and between projects, through reuse of design
components, and as a reusable common language between systems engineers
and software developers and testers.
Main questions• Why choose UML 2.0 to visualize information?It provides a single, standardized, powerful language for precisely

Слайд 5Tau G2 diagram classification

Tau G2 diagram classification

Слайд 6Types of main diagrams
Usecase diagram - Describes how a set

of actors interacts in terms of use cases, usually in

the context of a subject (the described system).

Architecture diagram (composite structure diagram) - Describes how parts of a (container) class are connected to each other to form an internal structure of the container.

Class diagram - Declares classes and their relations to each other, typically in the scope of a package or another (container) class.
Types of main diagramsUsecase diagram - Describes how a set of actors interacts in terms of use

Слайд 7Types of main diagrams

Sequence diagram - Describes the event sequence

for a use case or an operation.


State Chart Diagram -

Defines the behavior of classes, state machines and operations.


Text diagram - Defines an entity textually (textual stubs)

Types of main diagramsSequence diagram - Describes the event sequence for a use case or an operation.State

Слайд 8Types of additional diagrams
Package diagram - A package diagram contains

presentation elements and their relations. Package diagrams can exist in

packages and classes.

Interaction Overview diagram - An interaction overview diagram describes some form of parallel behavior. It is often used to describe a use case.

Activity diagram - An activity diagram can show parallel and intertwined behavior. This may allow a simplified view of a complex structure where it is possible to focus on a specific flow of control.
Types of additional diagramsPackage diagram - A package diagram contains presentation elements and their relations. Package diagrams

Слайд 9Types of additional diagrams
Component diagram - A component diagram is

primarily focused on the design of components and shows relations

and structure of components.

Deployment diagram - The deployment diagram can be used to show how the physical implementation is structured and the relations between software and hardware.

Types of additional diagramsComponent diagram - A component diagram is primarily focused on the design of components

Слайд 10Use Case Diagrams
Use Case: a view of a system that

emphasizes the behavior as it appears to outside users. A

use case model partitions system functionality into transactions (‘use cases’) that are meaningful to users (‘actors’). Environment can play actor role.
Use case diagram: a diagram that shows the relationships among actors, use cases and the subject system.
Notes: - Use case diagram can define scenarios for different modes of target application - Use case descriptions can be specified by text and/or interaction diagrams
Use Case DiagramsUse Case: a view of a system that emphasizes the behavior as it appears to

Слайд 11Use Case Diagrams: core elements

Use Case Diagrams: core elements

Слайд 12Use Case Diagrams: core elements

Use Case Diagrams: core elements

Слайд 13Use Case Diagrams: example

Use Case Diagrams: example

Слайд 14Architecture diagrams
In the Standard it’s refered to as the Composite

Structure Diagram.
• The Architecture Diagram is used to show:
– The

internal run-time structure of an active class.
• This is done using:
– Instances of active classes that are attributes of the containing class.
– The interface points of these active classes.
– The communication channels between the instance interface points.
– The discrete packages of information that are exchanged by the instances along the communication channels.
Architecture diagramsIn the Standard it’s refered to as the Composite Structure Diagram.• The Architecture Diagram is used

Слайд 15Architecture Diagrams: core elements

Architecture Diagrams: core elements

Слайд 16Architecture diagram: example

Architecture diagram: example

Слайд 17Class Diagrams
Class: a description of a set of objects that

share the same attributes, operations, methods, relations and semantics.

Class diagram:

A diagram that shows a collection of declarative (static) model elements, such as classes, types and their contents and relationships.
Class diagram should:
Emphasize a particular of the structural model
Contain classes at the same level of abstraction
Class DiagramsClass: a description of a set of objects that share the same attributes, operations, methods, relations

Слайд 18Class Diagrams: core elements

Class Diagrams: core elements

Слайд 19Class Diagrams: core elements

Class Diagrams: core elements

Слайд 20Class Diagrams: example

Class Diagrams: example

Слайд 21Sequence Diagrams
Describes the sequence of events in an easy-to-understand format

for
capturing requirements, design, traces, test cases and test suites



A Sequence Diagram is a variant of an Interaction Diagram.
It consists of a set of entities and the Messages that are communicated
among them.

A Sequence Diagram focuses on the time ordering (sequence) of the
interchanged Messages.
Sequence DiagramsDescribes the sequence of events in an easy-to-understand format for capturing requirements, design, traces, test cases

Слайд 22Sequence Diagrams: core elements

Sequence Diagrams: core elements

Слайд 23Sequence Diagrams: core elements

Sequence Diagrams: core elements

Слайд 24Sequence Diagrams: example
Reference

Sequence Diagrams: exampleReference

Слайд 25State Chart Diagrams
UML State Machines exhibit the characteristics of a

Mealy-type machine, where the output depends on both the present

state and the inputs.
• It normally sits waiting in a State until an Event occurs, usually the reception of a Signal.
• If the received Signal is not somehow explicitly handled by the current
State, then the Signal is discarded, i.e., thrown away.
• If the Signal can be handled by the current State, then
– the Signal is “consumed”
– the corresponding Transition is taken
– any actions (including outputs) are executed
– the State Machine enters its Nextstate.
State Chart DiagramsUML State Machines exhibit the characteristics of a Mealy-type machine, where the output depends on

Слайд 26State Chart Diagrams: core elements

State Chart Diagrams: core elements

Слайд 27State Chart Diagrams: example

State Chart Diagrams: example

Слайд 28Transition vs. State Oriented Syntax

Transition vs. State Oriented Syntax

Слайд 29Text Diagrams

The graphical form of the UML is unwieldy when

trying to describe advanced algorithms.

Capturing such functionality in textual form

provides a concise way of describing them.

– Easier to read
– More comprehensible
– More maintainable
– Significant savings in diagram size (page Real Estate)

Text DiagramsThe graphical form of the UML is unwieldy when trying to describe advanced algorithms.Capturing such functionality

Слайд 30Text Diagrams: example
Operation

Text Diagrams: exampleOperation

Слайд 31Package Diagrams
A Package allows definitions to be shared by several

different entities.

• A Package defines a new scope unit (namespace).

A Package is normally used to organize elements into groups.
– It can also contain other Packages.

• Packages allow control of visibility and access rights to their elements.
– Better compartmentalization.
– Decreased coupling.
• Everything in UML is ultimately contained in one Package or another.
Package Diagrams	A Package allows definitions to be shared by several different entities.• A Package defines a new

Слайд 32Package Diagrams: core elements

Package Diagrams: core elements

Слайд 33Package Diagrams: example

Package Diagrams: example

Слайд 34Interaction Overview Diagrams

Interaction Overview Diagrams are a variant of Activity

Diagrams that define interactions in a way that promotes overview

of the control flow.

Interactions focus on the communications between instances, using message passing to express operation invocation and signal sending
Interactions are used
during analysis, to improve individual or group understanding ofinter-object behavior
during design, to precisely describe inter-process communication
during testing, the traces can be compared with those described in the earlier phases.
Interaction Overview DiagramsInteraction Overview Diagrams are a variant of Activity Diagrams that define interactions in a way

Слайд 35Interaction Overview Diagrams: example

Interaction Overview Diagrams: example

Слайд 36Activity Diagrams
Activity Diagram shows behavior using a control and data

flow

Activity modeling emphasizes the sequence and conditions for
coordinating other

behaviors, using secondary constructs to show which
classifiers are responsible for those behaviors.

Typical applications of Interactions include:
– process modeling (business, physical)
– workflow modeling
– requirements
Activity DiagramsActivity Diagram shows behavior using a control and data flow Activity modeling emphasizes the sequence and

Слайд 37Activity Diagrams: core elements

Activity Diagrams: core elements

Слайд 38Activity diagrams: example

Activity diagrams: example

Слайд 39Diagrams usage

Requirements Architecture Design
Use-Case Diagram +

+ +
Sequence Diagram

+ + +
Interaction Overview Diagram + + +
Activity Diagram + +
State Machine Diagram + +
Class Diagram + + +
Component Diagram +
Deployment Diagram +
Package Diagram + + +


Diagrams usage			Requirements	Architecture	Design	Use-Case Diagram		      +		     +		   +	Sequence

Слайд 40From SDL to UML

From SDL to UML

Слайд 41From SDL to UML

From SDL to UML

Слайд 42From SDL to UML

From SDL to UML

Слайд 43From SDL to UML

From SDL to UML

Слайд 44
Training Project

Training Project

Слайд 45Training Project 1: Coffee Machine

Training Project 1: Coffee Machine

Слайд 46 if no coin is inserted and “Tea” or “Coffee”

button is pressed - request shall be ignored
if the

tea or coffee making process is in progress and “Tea” or “Coffee” button is pressed - request shall be ignored
if a coin with the value of 5 is inserted and the “Tea” button is pressed, the tea making process begins
if a coin with the value of 10 inserted and the “Tea” button is pressed, the customer receives a change and the tea making process begins
if a coin with the value of 5 is inserted and the “Coffee” button is pressed, user receives a change and the coffee making process ignored
if a coin with the value of 10 is inserted and the “Coffee” button is pressed, the coffee making process begins

Requirements specification

if no coin is inserted and “Tea” or “Coffee” button is pressed - request shall be

Слайд 47Simple tutorial

Simple tutorial

Слайд 48Thank YOU

Thank YOU

Обратная связь

Если не удалось найти и скачать доклад-презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:

Email: Нажмите что бы посмотреть 

Что такое TheSlide.ru?

Это сайт презентации, докладов, проектов в PowerPoint. Здесь удобно  хранить и делиться своими презентациями с другими пользователями.


Для правообладателей

Яндекс.Метрика