What is Unified Modeling
Language (UML)?
 The UML is a graphical / standard
language for visualizing,
specifying, constructing &
documenting the artifacts of a
software system.
History of UML
 1980 – 1990  Many different
methodologies
1. Booch method by Grady Booch
2. Object Modeling Technique (OMT) by Jim Rumbaugh
3. Object Oriented Software Engineering (OOSE) by Ivar
Jacobson
 Each method had its strengths &
weaknesses.
1. Booch was great in design
2. OMT & OOSE were great in analysis
History of UML
UML 1.0 (January 1997)
UML 1.1 (November 1997)
UML 1.3 (Current Minor revision 1999)
UML 1.4 (Planned Minor revision 2000)
UML 2.0 (Planned Major revision 2004)
UML Concepts
 UML can be used to support your
entire life cycle.
1. The interaction of your application with the outside
world (use case diagram)
2. Visualize object interaction (sequence &
collaboration diagrams)
3. The structure of your system (class diagram)
4. View the system architecture by looking at the
defined package.
5. The components in your system (component
diagram)
What are Diagrams ?
 Graphical presentation of model
elements.
 A diagram is a graphical means to view
a system’s parts
UML Diagrams
 8 diagrams
 You will model the following 5 diagrams only:
1. Use case diagram
2. Activity diagram
3. Sequence diagram
4. Collaboration diagram
5. Class diagram
 The other UML diagrams that can be modeled in
Rose are:
1. State chart diagram
2. Component diagram
3. Deployment diagram
Interaction
diagram
Behavior Diagram
 Sequence diagram
 Collaboration diagram
 State chart diagram
 Activity diagram
behavior
diagram
UML Diagrams
1. Class diagram
2. Use case diagram
3. Activity diagram
4. Sequence diagram
5. Collaboration diagram
6. State chart diagram
7. Component diagram
8. Deployment diagram
1. Class diagram
 Class  a set of objects that share the
same attributes, operations & relationships.
 It represented by a compartmentalized
rectangle.
 It shows the structure of your software.
 3 compartments
1. Top
2. Middle
3. Bottom
1. Class diagram
1. Top  shows class name
2. Middle  shows class attributes
3. Bottom  shows class operation
1. Class diagram
1. Attributes  defines the characteristics or
structure of a class.
 displayed in the middle of the
compartmentalized rectangle.
Attributes
1. Class diagram
2. Operation  the service provided by the class.
 displayed in the bottom of the
compartmentalized rectangle.
Operations
2.Use case diagram
 It shows a set of use cases and actors and
their relationships.
 Address the static view of a system.
 Actor  user (or) someone / something
outside the system that interacts with the
system (it must be a noun) & it is
represented by a stickman.
……contd
2.Use case diagram
 Use case  a sequences of actions (it must be
a verb) & it is represented by an oval.
 Relationship illustrates a connection among
model elements.
Unidirectional Bi-directional
 It is created to visualize the interaction of your
system with the outside world.
 (e.g.) ATM
……contd
2. Use case diagram (ATM)
CASH
DISPENSER
PRINTER
CHANGE PIN
WITHDRAW
CHECK BALANCE
LOGIN
CUSTOMER
2. Use case diagram (Pay roll)
 Actors  employee & account
 Use case  count leave, disburse
salary, check loans, calculate PF,
prepare IT returns, calculate HRA &
check salary
Customer
Calculate PF
Check loans
Disburse salary
Count leave
Prepare IT returns
Check salary
Calculate HRA
3.Activity Diagram
 It shows the flow of events with our
system & what is going on inside a use
case.
 We draw the activity diagram for each
& every use case.
 Login (use case) – (e.g.) ATM
 It is showing flow of control from
activity to activity.
3.Activity Diagram
 Activity  it represents the performance of a
task within the workflow.
 Activity is represented by a lozenge
(horizontal top and bottom with convex sides)
 Start state shows the beginning of a workflow
on an activity diagram.
 There is only one start state.
3.Activity Diagram
 A start state is represented by a solid
circle.
 An end state represents a final or
terminal state on an activity diagram.
 A end state is represented by a bull’s
eye.
3.Activity Diagram
 A state transition shows what activity
follows after another.
 It is represented by a solid line with an
arrow.
3.Activity Diagram
 A decision is a point in an activity diagram
where guard conditions are used to indicate
different possible transitions.
 It is represented by a diamond.
 Guard conditions control the transition of a
set of alternate transitions that follows after
the activity has been completed.
3.Activity Diagram
AND
Joint
Synchronization bar
3.Activity Diagram
 A synchronization bar allows you to
show concurrent threads in a work flow
of a use case.
 It represented by a thick horizontal or
vertical line.
3.Activity Diagram – Login Use case
Customer Enters
the login details
System retrives
the details
System validates
the customer
System welcomes
the customer
System prompts to
reenter
[ True ]
[ False ]
4.Sequence Diagram
 It shows step by step what must happen
to accomplish a piece of functionality
provided by the system.
 It has 2Ds.
1. Vertical dimensions  represents time
2. Horizontal dimensions  represents
different objects.
 Vertical line is called the object’s life line.
4.Sequence Diagram
 Life line  the existence object at a
particular time.
 Objects are shown at the top.
 The object role is shown as a vertical
dashed line, the life line.
4.Sequence Diagram
 A message is the communication between 2
objects that triggers an event.
 It is represented by a labeled arrow.
 Each message is represented by an arrow
between the life lines of 2 objects.
4.Sequence Diagram
 A focus of control shows the period of
time during which an object is
performing an action, either directly or
through a subordinate procedure.
 It represented by a tall, thin rectangle.
4.Sequence Diagram – login
success
: Customer
: Customer : LoginForm
: LoginForm : LoginController
: LoginController : CustomerInfo
: CustomerInfo
Enter Login Detail...
Submit( )
Validate( )
getLoginDetails( )
5.Collaboration Diagram
 It displays objects and their links to one
other.
 It is also known as an interaction diagram.
5.Collaboration Diagram
 It is made up of the following basic
elements :
1. Actors
2. Objects
3. Links
4. Messages
5.Collaboration Diagram
1. Actors  user
2. Objects  data + logic / the representation
of some real world entity.
3. Links  a pathway for communication
between objects.
 represented by a solid line
between 2 objects
4. Messages  the communication between
objects that triggers an event.
 represented by a labeled arrow
above
the link.
5.Collaboration Diagram –
Login use case
: Customer
: LoginForm
: LoginController
: CustomerInfo
1: Enter Login Details( )
2: Submit( )
3: Validate( )
4: getLoginDetails( )
6. State Chart Diagram
 It shows the sequence of states.
 A state is represented as a rounded box,
which may contain one or more
compartments.
 Name compartment  holds the name of
the state.
 Internal transition compartment  list of
actions / activities
 Start & end states
7.Component Diagram
 It shows relationship between the
components in the system.
 A component may be a software
component [for (e.g.) a.h file in C++
(or) a .java file in Java], a run time
component [for (e.g.) a.DLL file]
8. Deployment Diagram
 It shows the configuration of run time
processing elements & the software
components, processes & objects that
live in them.
 It shows the nodes in the system & the
connections between them.
Thank You!

More Related Content

PDF
SE_Lec 09_ UML Behaviour Diagrams
PDF
SE18_Lec 10_ UML Behaviour and Interaction Diagrams
PPTX
Unit III Dynamic and Implementation UML Diagrams.pptx
PPT
Introducing Uml And Development Process
PPTX
DOCX
Case tool lab-Reg2013 by Karthick Raja
PPTX
UML and Software Modeling Tools.pptx
PPTX
R1x g13 4 diagrams i
SE_Lec 09_ UML Behaviour Diagrams
SE18_Lec 10_ UML Behaviour and Interaction Diagrams
Unit III Dynamic and Implementation UML Diagrams.pptx
Introducing Uml And Development Process
Case tool lab-Reg2013 by Karthick Raja
UML and Software Modeling Tools.pptx
R1x g13 4 diagrams i

Similar to UML.pptx (20)

DOCX
Course NumberCourse SectionCourse Name.docx
PPTX
Use case model
PPTX
UML Design Document Training Learn UML .pptx
PPT
2.2. Software cycle Models-System_Models.ppt
PDF
PPT
CASE Tools lab.ppt
PPTX
Unit three Advanced State Modelling
PPT
Component based models and technology
PPT
Jar chapter 4, part 1
PPTX
Uml Diagrams
PPS
PPT
Component based models and technology
PPT
Intoduction to uml
PPT
Chapter7
PPT
Software engg. pressman_ch-8
PPTX
Uml and enterprise architect
PPTX
PDF
Software Engineering Tools and Practices.pdf
PPT
UnifedModeeqwewqeqweqwewqewqelingLanguage.ppt
Course NumberCourse SectionCourse Name.docx
Use case model
UML Design Document Training Learn UML .pptx
2.2. Software cycle Models-System_Models.ppt
CASE Tools lab.ppt
Unit three Advanced State Modelling
Component based models and technology
Jar chapter 4, part 1
Uml Diagrams
Component based models and technology
Intoduction to uml
Chapter7
Software engg. pressman_ch-8
Uml and enterprise architect
Software Engineering Tools and Practices.pdf
UnifedModeeqwewqeqweqwewqewqelingLanguage.ppt
Ad

More from RAJESH S (20)

PDF
Service Operation Managements Unit 1.pdf
PPT
Unit II Ethernet devices and Sub categories.ppt
PPT
Connecting devices in Computer parts.ppt
PPTX
unitios-22112405585Operational 3-5fc1b7da.pptx
PPT
Analysis of Algorithm DAA notes Part 1.ppt
PPTX
Logical link protocols and service data.pptx
PPT
error detection and Error control detection .ppt
PPT
Analysis of Algorithm Part one analysis.ppt
PPT
Entreprise Resource Planning s unit 2.ppt
PPTX
Decision support systems in information management
PPT
IM Unit 4 Security and its a control.ppt
PPT
unit5 Enterprise Resource Planning new trends.ppt
PPTX
science engineering and technology .pptx
PPTX
policies in economics trends for engineers
PDF
Product Decisions and its aplication in global world
PPT
Database management system basics and it applications
PPTX
Computer Animation.pptx
PPTX
IOT in agriculture.pptx
PPTX
18copy.pptx
PPT
ERP unit 1.ppt
Service Operation Managements Unit 1.pdf
Unit II Ethernet devices and Sub categories.ppt
Connecting devices in Computer parts.ppt
unitios-22112405585Operational 3-5fc1b7da.pptx
Analysis of Algorithm DAA notes Part 1.ppt
Logical link protocols and service data.pptx
error detection and Error control detection .ppt
Analysis of Algorithm Part one analysis.ppt
Entreprise Resource Planning s unit 2.ppt
Decision support systems in information management
IM Unit 4 Security and its a control.ppt
unit5 Enterprise Resource Planning new trends.ppt
science engineering and technology .pptx
policies in economics trends for engineers
Product Decisions and its aplication in global world
Database management system basics and it applications
Computer Animation.pptx
IOT in agriculture.pptx
18copy.pptx
ERP unit 1.ppt
Ad

Recently uploaded (20)

PDF
Delhi c@ll girl# cute girls in delhi with travel girls in delhi call now
PPTX
research framework and review of related literature chapter 2
PPTX
Basic Statistical Analysis for experimental data.pptx
PDF
9 FinOps Tools That Simplify Cloud Cost Reporting.pdf
PDF
Introduction to Database Systems Lec # 1
PPTX
ch20 Database System Architecture by Rizvee
PPTX
DIGITAL DESIGN AND.pptx hhhhhhhhhhhhhhhhh
PPTX
Stats annual compiled ipd opd ot br 2024
PPTX
ifsm.pptx, institutional food service management
PDF
General category merit rank list for neet pg
PPTX
langchainpptforbeginners_easy_explanation.pptx
PPTX
DAA UNIT 1 for unit 1 time compixity PPT.pptx
PPTX
transformers as a tool for understanding advance algorithms in deep learning
PPTX
Capstone Presentation a.pptx on data sci
PPTX
PPT for Diseases.pptx, there are 3 types of diseases
PPTX
Overview_of_Computing_Presentation.pptxxx
PDF
Teal Blue Futuristic Metaverse Presentation.pdf
PPT
BME 301 Lecture Note 1_2.ppt mata kuliah Instrumentasi
PPTX
DATA ANALYTICS COURSE IN PITAMPURA.pptx
PPTX
GPS sensor used agriculture land for automation
Delhi c@ll girl# cute girls in delhi with travel girls in delhi call now
research framework and review of related literature chapter 2
Basic Statistical Analysis for experimental data.pptx
9 FinOps Tools That Simplify Cloud Cost Reporting.pdf
Introduction to Database Systems Lec # 1
ch20 Database System Architecture by Rizvee
DIGITAL DESIGN AND.pptx hhhhhhhhhhhhhhhhh
Stats annual compiled ipd opd ot br 2024
ifsm.pptx, institutional food service management
General category merit rank list for neet pg
langchainpptforbeginners_easy_explanation.pptx
DAA UNIT 1 for unit 1 time compixity PPT.pptx
transformers as a tool for understanding advance algorithms in deep learning
Capstone Presentation a.pptx on data sci
PPT for Diseases.pptx, there are 3 types of diseases
Overview_of_Computing_Presentation.pptxxx
Teal Blue Futuristic Metaverse Presentation.pdf
BME 301 Lecture Note 1_2.ppt mata kuliah Instrumentasi
DATA ANALYTICS COURSE IN PITAMPURA.pptx
GPS sensor used agriculture land for automation

UML.pptx

  • 1. What is Unified Modeling Language (UML)?  The UML is a graphical / standard language for visualizing, specifying, constructing & documenting the artifacts of a software system.
  • 2. History of UML  1980 – 1990  Many different methodologies 1. Booch method by Grady Booch 2. Object Modeling Technique (OMT) by Jim Rumbaugh 3. Object Oriented Software Engineering (OOSE) by Ivar Jacobson  Each method had its strengths & weaknesses. 1. Booch was great in design 2. OMT & OOSE were great in analysis
  • 3. History of UML UML 1.0 (January 1997) UML 1.1 (November 1997) UML 1.3 (Current Minor revision 1999) UML 1.4 (Planned Minor revision 2000) UML 2.0 (Planned Major revision 2004)
  • 4. UML Concepts  UML can be used to support your entire life cycle. 1. The interaction of your application with the outside world (use case diagram) 2. Visualize object interaction (sequence & collaboration diagrams) 3. The structure of your system (class diagram) 4. View the system architecture by looking at the defined package. 5. The components in your system (component diagram)
  • 5. What are Diagrams ?  Graphical presentation of model elements.  A diagram is a graphical means to view a system’s parts
  • 6. UML Diagrams  8 diagrams  You will model the following 5 diagrams only: 1. Use case diagram 2. Activity diagram 3. Sequence diagram 4. Collaboration diagram 5. Class diagram  The other UML diagrams that can be modeled in Rose are: 1. State chart diagram 2. Component diagram 3. Deployment diagram Interaction diagram
  • 7. Behavior Diagram  Sequence diagram  Collaboration diagram  State chart diagram  Activity diagram behavior diagram
  • 8. UML Diagrams 1. Class diagram 2. Use case diagram 3. Activity diagram 4. Sequence diagram 5. Collaboration diagram 6. State chart diagram 7. Component diagram 8. Deployment diagram
  • 9. 1. Class diagram  Class  a set of objects that share the same attributes, operations & relationships.  It represented by a compartmentalized rectangle.  It shows the structure of your software.  3 compartments 1. Top 2. Middle 3. Bottom
  • 10. 1. Class diagram 1. Top  shows class name 2. Middle  shows class attributes 3. Bottom  shows class operation
  • 11. 1. Class diagram 1. Attributes  defines the characteristics or structure of a class.  displayed in the middle of the compartmentalized rectangle. Attributes
  • 12. 1. Class diagram 2. Operation  the service provided by the class.  displayed in the bottom of the compartmentalized rectangle. Operations
  • 13. 2.Use case diagram  It shows a set of use cases and actors and their relationships.  Address the static view of a system.  Actor  user (or) someone / something outside the system that interacts with the system (it must be a noun) & it is represented by a stickman. ……contd
  • 14. 2.Use case diagram  Use case  a sequences of actions (it must be a verb) & it is represented by an oval.  Relationship illustrates a connection among model elements. Unidirectional Bi-directional  It is created to visualize the interaction of your system with the outside world.  (e.g.) ATM ……contd
  • 15. 2. Use case diagram (ATM) CASH DISPENSER PRINTER CHANGE PIN WITHDRAW CHECK BALANCE LOGIN CUSTOMER
  • 16. 2. Use case diagram (Pay roll)  Actors  employee & account  Use case  count leave, disburse salary, check loans, calculate PF, prepare IT returns, calculate HRA & check salary
  • 17. Customer Calculate PF Check loans Disburse salary Count leave Prepare IT returns Check salary Calculate HRA
  • 18. 3.Activity Diagram  It shows the flow of events with our system & what is going on inside a use case.  We draw the activity diagram for each & every use case.  Login (use case) – (e.g.) ATM  It is showing flow of control from activity to activity.
  • 19. 3.Activity Diagram  Activity  it represents the performance of a task within the workflow.  Activity is represented by a lozenge (horizontal top and bottom with convex sides)  Start state shows the beginning of a workflow on an activity diagram.  There is only one start state.
  • 20. 3.Activity Diagram  A start state is represented by a solid circle.  An end state represents a final or terminal state on an activity diagram.  A end state is represented by a bull’s eye.
  • 21. 3.Activity Diagram  A state transition shows what activity follows after another.  It is represented by a solid line with an arrow.
  • 22. 3.Activity Diagram  A decision is a point in an activity diagram where guard conditions are used to indicate different possible transitions.  It is represented by a diamond.  Guard conditions control the transition of a set of alternate transitions that follows after the activity has been completed.
  • 24. 3.Activity Diagram  A synchronization bar allows you to show concurrent threads in a work flow of a use case.  It represented by a thick horizontal or vertical line.
  • 25. 3.Activity Diagram – Login Use case Customer Enters the login details System retrives the details System validates the customer System welcomes the customer System prompts to reenter [ True ] [ False ]
  • 26. 4.Sequence Diagram  It shows step by step what must happen to accomplish a piece of functionality provided by the system.  It has 2Ds. 1. Vertical dimensions  represents time 2. Horizontal dimensions  represents different objects.  Vertical line is called the object’s life line.
  • 27. 4.Sequence Diagram  Life line  the existence object at a particular time.  Objects are shown at the top.  The object role is shown as a vertical dashed line, the life line.
  • 28. 4.Sequence Diagram  A message is the communication between 2 objects that triggers an event.  It is represented by a labeled arrow.  Each message is represented by an arrow between the life lines of 2 objects.
  • 29. 4.Sequence Diagram  A focus of control shows the period of time during which an object is performing an action, either directly or through a subordinate procedure.  It represented by a tall, thin rectangle.
  • 30. 4.Sequence Diagram – login success : Customer : Customer : LoginForm : LoginForm : LoginController : LoginController : CustomerInfo : CustomerInfo Enter Login Detail... Submit( ) Validate( ) getLoginDetails( )
  • 31. 5.Collaboration Diagram  It displays objects and their links to one other.  It is also known as an interaction diagram.
  • 32. 5.Collaboration Diagram  It is made up of the following basic elements : 1. Actors 2. Objects 3. Links 4. Messages
  • 33. 5.Collaboration Diagram 1. Actors  user 2. Objects  data + logic / the representation of some real world entity. 3. Links  a pathway for communication between objects.  represented by a solid line between 2 objects 4. Messages  the communication between objects that triggers an event.  represented by a labeled arrow above the link.
  • 34. 5.Collaboration Diagram – Login use case : Customer : LoginForm : LoginController : CustomerInfo 1: Enter Login Details( ) 2: Submit( ) 3: Validate( ) 4: getLoginDetails( )
  • 35. 6. State Chart Diagram  It shows the sequence of states.  A state is represented as a rounded box, which may contain one or more compartments.  Name compartment  holds the name of the state.  Internal transition compartment  list of actions / activities  Start & end states
  • 36. 7.Component Diagram  It shows relationship between the components in the system.  A component may be a software component [for (e.g.) a.h file in C++ (or) a .java file in Java], a run time component [for (e.g.) a.DLL file]
  • 37. 8. Deployment Diagram  It shows the configuration of run time processing elements & the software components, processes & objects that live in them.  It shows the nodes in the system & the connections between them.