SlideShare a Scribd company logo
1 of 38
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

Similar to What is UML? Visual Guide to Unified Modeling Language Diagrams

Course NumberCourse SectionCourse Name.docx
Course NumberCourse SectionCourse Name.docxCourse NumberCourse SectionCourse Name.docx
Course NumberCourse SectionCourse Name.docxvanesaburnand
 
UML Design Document Training Learn UML .pptx
UML Design Document Training Learn UML .pptxUML Design Document Training Learn UML .pptx
UML Design Document Training Learn UML .pptxraghavanp4
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.pptRAJESH S
 
Unit three Advanced State Modelling
Unit three Advanced State ModellingUnit three Advanced State Modelling
Unit three Advanced State ModellingDr Chetan Shelke
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technologySaransh Garg
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technologyMayukh Maitra
 
Software engg. pressman_ch-8
Software engg. pressman_ch-8Software engg. pressman_ch-8
Software engg. pressman_ch-8Dhairya Joshi
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfMeagGhn
 
Basic behavioral modeling chapter 3 of OMD
Basic behavioral modeling chapter 3 of OMDBasic behavioral modeling chapter 3 of OMD
Basic behavioral modeling chapter 3 of OMDjayashri kolekar
 

Similar to What is UML? Visual Guide to Unified Modeling Language Diagrams (20)

Course NumberCourse SectionCourse Name.docx
Course NumberCourse SectionCourse Name.docxCourse NumberCourse SectionCourse Name.docx
Course NumberCourse SectionCourse Name.docx
 
Use case model
Use case modelUse case model
Use case model
 
UML Design Document Training Learn UML .pptx
UML Design Document Training Learn UML .pptxUML Design Document Training Learn UML .pptx
UML Design Document Training Learn UML .pptx
 
4. UML
4. UML4. UML
4. UML
 
Sequence Diagram
Sequence DiagramSequence Diagram
Sequence Diagram
 
CASE Tools lab.ppt
CASE Tools lab.pptCASE Tools lab.ppt
CASE Tools lab.ppt
 
Unit three Advanced State Modelling
Unit three Advanced State ModellingUnit three Advanced State Modelling
Unit three Advanced State Modelling
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technology
 
Jar chapter 4, part 1
Jar chapter 4, part 1Jar chapter 4, part 1
Jar chapter 4, part 1
 
Uml Diagrams
Uml DiagramsUml Diagrams
Uml Diagrams
 
UML Unit 01
UML Unit 01UML Unit 01
UML Unit 01
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technology
 
Intoduction to uml
Intoduction to umlIntoduction to uml
Intoduction to uml
 
Chapter7
Chapter7Chapter7
Chapter7
 
Software engg. pressman_ch-8
Software engg. pressman_ch-8Software engg. pressman_ch-8
Software engg. pressman_ch-8
 
Uml and enterprise architect
Uml and enterprise architectUml and enterprise architect
Uml and enterprise architect
 
Uml
UmlUml
Uml
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
0136061257
01360612570136061257
0136061257
 
Basic behavioral modeling chapter 3 of OMD
Basic behavioral modeling chapter 3 of OMDBasic behavioral modeling chapter 3 of OMD
Basic behavioral modeling chapter 3 of OMD
 

More from RAJESH S

Entreprise Resource Planning s unit 2.ppt
Entreprise Resource Planning s unit 2.pptEntreprise Resource Planning s unit 2.ppt
Entreprise Resource Planning s unit 2.pptRAJESH S
 
Decision support systems in information management
Decision support systems in information managementDecision support systems in information management
Decision support systems in information managementRAJESH S
 
IM Unit 4 Security and its a control.ppt
IM Unit 4 Security and its a control.pptIM Unit 4 Security and its a control.ppt
IM Unit 4 Security and its a control.pptRAJESH S
 
unit5 Enterprise Resource Planning new trends.ppt
unit5 Enterprise Resource Planning new trends.pptunit5 Enterprise Resource Planning new trends.ppt
unit5 Enterprise Resource Planning new trends.pptRAJESH S
 
science engineering and technology .pptx
science engineering and technology .pptxscience engineering and technology .pptx
science engineering and technology .pptxRAJESH S
 
policies in economics trends for engineers
policies in economics trends for engineerspolicies in economics trends for engineers
policies in economics trends for engineersRAJESH S
 
Product Decisions and its aplication in global world
Product Decisions and its aplication in global worldProduct Decisions and its aplication in global world
Product Decisions and its aplication in global worldRAJESH S
 
Database management system basics and it applications
Database management system basics and it applicationsDatabase management system basics and it applications
Database management system basics and it applicationsRAJESH S
 
Computer Animation.pptx
Computer Animation.pptxComputer Animation.pptx
Computer Animation.pptxRAJESH S
 
IOT in agriculture.pptx
IOT in agriculture.pptxIOT in agriculture.pptx
IOT in agriculture.pptxRAJESH S
 
18copy.pptx
18copy.pptx18copy.pptx
18copy.pptxRAJESH S
 
ERP unit 1.ppt
ERP unit 1.pptERP unit 1.ppt
ERP unit 1.pptRAJESH S
 
fiscalpolicy.ppt
fiscalpolicy.pptfiscalpolicy.ppt
fiscalpolicy.pptRAJESH S
 
DAA ppt.pptx
DAA ppt.pptxDAA ppt.pptx
DAA ppt.pptxRAJESH S
 
DAA 1 ppt.pptx
DAA 1 ppt.pptxDAA 1 ppt.pptx
DAA 1 ppt.pptxRAJESH S
 
ARITHMETIC LOGIC UNIT.ppt
ARITHMETIC LOGIC UNIT.pptARITHMETIC LOGIC UNIT.ppt
ARITHMETIC LOGIC UNIT.pptRAJESH S
 
Virtual memory translation.pptx
Virtual memory translation.pptxVirtual memory translation.pptx
Virtual memory translation.pptxRAJESH S
 
Common memory technologies.pptx
Common memory technologies.pptxCommon memory technologies.pptx
Common memory technologies.pptxRAJESH S
 
Components of Computer system.ppt
Components of Computer system.pptComponents of Computer system.ppt
Components of Computer system.pptRAJESH S
 
CA UNIT I PPT.ppt
CA UNIT I PPT.pptCA UNIT I PPT.ppt
CA UNIT I PPT.pptRAJESH S
 

More from RAJESH S (20)

Entreprise Resource Planning s unit 2.ppt
Entreprise Resource Planning s unit 2.pptEntreprise Resource Planning s unit 2.ppt
Entreprise Resource Planning s unit 2.ppt
 
Decision support systems in information management
Decision support systems in information managementDecision support systems in information management
Decision support systems in information management
 
IM Unit 4 Security and its a control.ppt
IM Unit 4 Security and its a control.pptIM Unit 4 Security and its a control.ppt
IM Unit 4 Security and its a control.ppt
 
unit5 Enterprise Resource Planning new trends.ppt
unit5 Enterprise Resource Planning new trends.pptunit5 Enterprise Resource Planning new trends.ppt
unit5 Enterprise Resource Planning new trends.ppt
 
science engineering and technology .pptx
science engineering and technology .pptxscience engineering and technology .pptx
science engineering and technology .pptx
 
policies in economics trends for engineers
policies in economics trends for engineerspolicies in economics trends for engineers
policies in economics trends for engineers
 
Product Decisions and its aplication in global world
Product Decisions and its aplication in global worldProduct Decisions and its aplication in global world
Product Decisions and its aplication in global world
 
Database management system basics and it applications
Database management system basics and it applicationsDatabase management system basics and it applications
Database management system basics and it applications
 
Computer Animation.pptx
Computer Animation.pptxComputer Animation.pptx
Computer Animation.pptx
 
IOT in agriculture.pptx
IOT in agriculture.pptxIOT in agriculture.pptx
IOT in agriculture.pptx
 
18copy.pptx
18copy.pptx18copy.pptx
18copy.pptx
 
ERP unit 1.ppt
ERP unit 1.pptERP unit 1.ppt
ERP unit 1.ppt
 
fiscalpolicy.ppt
fiscalpolicy.pptfiscalpolicy.ppt
fiscalpolicy.ppt
 
DAA ppt.pptx
DAA ppt.pptxDAA ppt.pptx
DAA ppt.pptx
 
DAA 1 ppt.pptx
DAA 1 ppt.pptxDAA 1 ppt.pptx
DAA 1 ppt.pptx
 
ARITHMETIC LOGIC UNIT.ppt
ARITHMETIC LOGIC UNIT.pptARITHMETIC LOGIC UNIT.ppt
ARITHMETIC LOGIC UNIT.ppt
 
Virtual memory translation.pptx
Virtual memory translation.pptxVirtual memory translation.pptx
Virtual memory translation.pptx
 
Common memory technologies.pptx
Common memory technologies.pptxCommon memory technologies.pptx
Common memory technologies.pptx
 
Components of Computer system.ppt
Components of Computer system.pptComponents of Computer system.ppt
Components of Computer system.ppt
 
CA UNIT I PPT.ppt
CA UNIT I PPT.pptCA UNIT I PPT.ppt
CA UNIT I PPT.ppt
 

Recently uploaded

Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一F La
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxFurkanTasci3
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]📊 Markus Baersch
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一fhwihughh
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...ThinkInnovation
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
办理(Vancouver毕业证书)加拿大温哥华岛大学毕业证成绩单原版一比一
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptx
 
GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]GA4 Without Cookies [Measure Camp AMS]
GA4 Without Cookies [Measure Camp AMS]
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 

What is UML? Visual Guide to Unified Modeling Language Diagrams

  • 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.