more uml diagram types l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
MORE UML DIAGRAM TYPES PowerPoint Presentation
Download Presentation
MORE UML DIAGRAM TYPES

Loading in 2 Seconds...

play fullscreen
1 / 10

MORE UML DIAGRAM TYPES - PowerPoint PPT Presentation


  • 116 Views
  • Uploaded on

MORE UML DIAGRAM TYPES. We have seen a number of UML diagram types while studying our example. These slides show examples of a number of diagrams types not seen in our previous slides. Again, for full notation and syntax, refer to http://www.uml.org. Object diagram. car2 : Sedan.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'MORE UML DIAGRAM TYPES' - ossie


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
more uml diagram types
MORE UML DIAGRAM TYPES
  • We have seen a number of UML diagram types while studying our example.
  • These slides show examples of a number of diagrams types not seen in our previous slides.
  • Again, for full notation and syntax, refer to http://www.uml.org

Software Engineering 2003

Jyrki Nummenmaa

object diagram
Object diagram

car2 : Sedan

car1: Sedan

registration_no = ABC-123

registration_no = XYZ-999

This is really like a class diagram, but has objects instead of classes.

: Garage

car2 is an instance of class Truck

Software Engineering 2003

Jyrki Nummenmaa

constraints
Constraints

OCL-language

1

own

*

Company

{(self.husband->size=1 implies

self.husband.sex = male) and

(self.wife->size=1 implies

self.wife.sex = female) and

not(self.wife->size=1 and

self.husband->size=1)}

Person

husband

0..1

sex

{xor}

0..1

wife

Ministry

0..1

manage

1

Software Engineering 2003

Jyrki Nummenmaa

collaboration diagram
Collaboration Diagram

Shows the calls between classes, but not their order (which is shown in sequence diagrams).

1.1: return()

car: Sedan

: GarageControl

1: returnCar

garage: Garage

1.2: store(car)

GUI

Software Engineering 2003

Jyrki Nummenmaa

state diagram
State Diagram

A state diagram represents how objects (instances of a class) react to external events (message).

  • Typically used to specify the behaviour of so-called active objects.
  • Is composed of states (combination of attribute values at some point of time) and transitions between them.
  • May include an initial state and a final state.

Software Engineering 2003

Jyrki Nummenmaa

state diagram6
State Diagram

Initial state

return/

Stop counting time

Available

InUse

take/

Start counting time

ready

service

InService

Booked

exit/

book

Software Engineering 2003

Jyrki Nummenmaa

activity diagram
Activity diagram

An activity diagram represents how an activity is performed

  • Formally, this is a special case of a state diagram
  • Typically a higher-level activity with several actors.
  • The diagram can be partitioned into columns, which show the actors

Software Engineering 2003

Jyrki Nummenmaa

activity diagram8
Activity Diagram

Initial state

Client

Official

Book

Query

Forkthreads

:Bill

[open]

Make a bill

Jointhreads

Preparecar

Pay

:Bill

[paid]

Registerrental

Take car

Finalstate

Software Engineering 2003

Jyrki Nummenmaa

packages
Packages

Controller

Objects

Support

1

Object

1

Storage

ObjectManagement

use

return()

book()

take()

*

1

returnObject(Object,Storage)

bookObject(Object)takeObject(Object)

Sedan

Garage

registrationNo

service(int km)

return()

Software Engineering 2003

Jyrki Nummenmaa

packages in closed form
Packages in closed form

Database

Support

Software Engineering 2003

Jyrki Nummenmaa