SlideShare a Scribd company logo
11/10/15 Winlex Ltd. 1
Rational Unified Process
and
Unified Modelling Language
Vinil Gupta
Winlex Ltd. 211/10/15
UML History
 Grady Booch – methodology
 Ivar Jacobson – methodology *
 Jim Rumbaugh – Object Modelling
Techniques
 Many others
Winlex Ltd. 311/10/15
Why UML
 Provides visual syntax throughout SDLC
 Suitable for most applications and is
platform neutral
 Provides excellent support for pure OO
languages, hybrid OO languages and non-
OO languages.
 Supports UP for OO systems and other
engineering processes
Winlex Ltd. 411/10/15
Objects and UML
 UML models the world as system of
interacting objects
 An Object is a cohesive cluster of data
and function
 Two aspect of UML:
1. Static Structure
2. Dynamic Behaviour
Winlex Ltd. 511/10/15
UML Structure
1. Building Blocks – basic modelling
elements, relationships and diagrams
2. Common Mechanism – way of achieving
specific goal
3. Architect – view of system architecture
Winlex Ltd. 611/10/15
1. Building Blocks
 Things – modelling elements themselves
 Relationship – specifies how things are
semantically related
 Diagrams – view into models; collection of
things that tells a story about the software
system; how it will do something
Winlex Ltd. 711/10/15
1.Things
In UML modelling elements are called things
 Structured things – class, interface,
collaboration, use case, active class,
component, node
 Behaviour things – interactions, state machines
 Group things – package of semantically related
modelling elements
 Annotational things – ad hoc info; yellow sticker
Winlex Ltd. 811/10/15
2.Relationship
 Description of a set of link
between objects
 A change to a thing affects the
semantics of a dependent thing
 One element is a specialisation
of another; substituted more
general element
 One classifier specifies a
contract that the other classifier
guarantees to carry out
Winlex Ltd. 911/10/15
3. Diagrams
 Diagrams contains things. Things can be
deleted from diagram but not from model
 Diagrams are only views into the model
and not the model itself
 There are a total of nine different UML
diagrams (i) Static Model; (ii) Dynamic
Model
Winlex Ltd. 1011/10/15
3.Diagrams
 Static Model – System structure
1. Class diagram
2. Component Diagrams
3. Deployment Diagram
Winlex Ltd. 1111/10/15
3.Diagrams
 Dynamic Model – System behaviour
1. Object diagram
2. Use Case diagram
3. Sequence diagram
4. Collaboration diagram
5. Statechart diagram
6. Activity diagram
Winlex Ltd. 1211/10/15
UML Common Mechanism
UML has four common mechanism
1. Specifications
2. Adornments
3. Common divisions
4. Extensibility mechanism
Winlex Ltd. 1311/10/15
1.Specification
Specifications are the meat of the UML model.
They provide the semantic backplane of the
model. UML model has at least two dimensions
1. Graphic dimensions – diagram
2. Textural dimensions – specifications textual
descriptions of the semantics of an element
Winlex Ltd. 1411/10/15
1.Specification
UML models may be:
 Elided – some elements from diagrams to simplify the
view
 Incomplete – some elements may be missing entirely
 Inconsistent – model may contain contradictions
Winlex Ltd. 1511/10/15
2.Adornments
A feature of UML that allows a symbol to every
modelling element, to which number of
adornments
Winlex Ltd. 1611/10/15
3.Common Division
Common division describe particular way of
thinking about world. Two common UML
divisions are:
1. Classifier and instance
• Classifier – an abstract notion e.g. a type of bank
account
• Instance – a concrete thing e.g. my bank account
Winlex Ltd. 1711/10/15
3.Common Division
1. Classifier and Instance – In UML an instance
usually has the same icon as the corresponding
classifier, but for instance the name on the icon
is underlined
Winlex Ltd. 1811/10/15
3.Common Division
2. Interface and implementation
The principle here is to separate what
something does from how it does it
• Interface – e.g. the buttons on front of your
CD recorder – similar to a legal contract
• Implementation – e.g. the mechanism inside
your CD recorder
Winlex Ltd. 1911/10/15
4. Extensibility Mechanisms
1. Constraints – These extend the semantics of
element by allowing us to add new rules
2. Stereotypes – allows us to add a new
modelling element based on existing one – we
define the semantics of the stereotype
ourselves; Stereotype add new element to the
UML metamodel
3. Tagged value – allows us to add new ad hoc
information to element’s specification
Winlex Ltd. 2011/10/15
4. Extensibility Mechanisms
1. Constraints – simply a text in in braces { }
that specifies rules that must be maintained as
true.
2. Stereotype – represent a variation on existing
element but with a different intent. Each
element can have at most one stereotype,
define a set of tagged values and constraints,
associate a new icon. You have to define
semantics of the new element somewhere i.e.
put a note on the model or refer to doc. Use
ST name in << >>or the icon. You can ST
relationships as well as classes
Winlex Ltd. 2111/10/15
4. Extensibility Mechanisms
3. Tagged Values – allow you to add your own
properties to model elements.
{tag1=value1, tag2=value2, …, tagN=valueN}
i.e. {auther=Vinil Gupta}
Winlex Ltd. 2211/10/15
Architecture
The organisational structure of a system,
including its decomposition into parts, their
connectivity, interaction, mechanism and
the guiding principles that inform the
design of a system OR
The highest-level concept of a system in its
envionment
Winlex Ltd. 2311/10/15
Architecture
UML captures the strategic aspects of a
system in a “4+1 view” of architecture
Logical view
Process view
Implementation view
Deployment view
Use Case view
Winlex Ltd. 2411/10/15
Architecture
Winlex Ltd. 2511/10/15
Architecture
1. Logical View - captures the vocabulary
of problem domain as a set of classes
and objects. The emphasis is on
showing how the object and classes that
compose the system, implement the
required system behaviour.
Winlex Ltd. 2611/10/15
Architecture
2. Process View – models the executable
threads and processes in our system as
active classes. It is really a process in our
system as active classes. It is really a
process-oriented variation on the logical
view, and contains all the same artfeacts.
Winlex Ltd. 2711/10/15
Architecture
3. Implementation view - models the files
and components that make up the physical
code base of the system. It is also about
illustrating dependencies between
components, and about configuration
management of set of components to
define a version of the system.
Winlex Ltd. 2811/10/15
Architecture
4. Deployment View - models the physical
deployment of components onto a set of
physical, computational nodes such as
computers and peripherals. It allows you
to model the distribution of components
across the nodes of a distributed system.
Winlex Ltd. 2911/10/15
Architecture
5. Use Case View – all of the other views
derived from the use case view. This view
captures the basic requirements for the
system as a set of use cases and provides
the basis for the construction of other
views.
Winlex Ltd. 3011/10/15
Architecture
Under UP the 4+1 architecture is not
created in one go, rather it evolves over
time, using stepwise refinements. Each
iteration captures just enough information
about the system to allow it to be built.

More Related Content

PPTX
Importance & Principles of Modeling from UML Designing
PPT
PPTX
Unified modelling language (UML)
PPTX
What is UML (Unified Modeling Language)?
ODP
Uml
PPT
UML diagrams and symbols
PPT
Unified Modeling Language
PDF
UNIFIED MODELING LANGUAGE
Importance & Principles of Modeling from UML Designing
Unified modelling language (UML)
What is UML (Unified Modeling Language)?
Uml
UML diagrams and symbols
Unified Modeling Language
UNIFIED MODELING LANGUAGE

What's hot (20)

PPTX
UML and Software Modeling Tools.pptx
PPTX
Unified Modeling Language
PDF
UML Diagrams- Unified Modeling Language Introduction
PPTX
Uml structural diagrams
PPTX
Unified modeling language diagrams
PPTX
Uml Diagrams
PPT
UML for OOAD
PPTX
Uml Presentation
DOC
Case Study Uml
PPTX
Uml with detail
PPT
UML Architecture and Views
PPTX
Introduction to the Unified Modeling Language (UML)
PPT
Uml Omg Fundamental Certification 1
PPTX
PDF
Unified Modeling Language
PPT
Object Oriented Modeling and Design with UML
PPTX
Class diagram, use case and sequence diagram
PPTX
Uml Presentation
PPTX
UML Notation
PPT
analysis and design with uml
UML and Software Modeling Tools.pptx
Unified Modeling Language
UML Diagrams- Unified Modeling Language Introduction
Uml structural diagrams
Unified modeling language diagrams
Uml Diagrams
UML for OOAD
Uml Presentation
Case Study Uml
Uml with detail
UML Architecture and Views
Introduction to the Unified Modeling Language (UML)
Uml Omg Fundamental Certification 1
Unified Modeling Language
Object Oriented Modeling and Design with UML
Class diagram, use case and sequence diagram
Uml Presentation
UML Notation
analysis and design with uml
Ad

Similar to UML (20)

PPTX
06-unit-iintrouml25sep2015-160901172758.pptx
PPT
Apostila UML
PDF
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PPT
4_5904551816829340505wewewewewewewew.ppt
PPTX
Introduction to Unified Modeling Language
PPTX
presentationonuml-160922100115 used for case tools lab
PPTX
Presentation on uml
PPT
Introduction To Uml
PDF
Unit 2 - Unified Modeling Language (UML).pdf
PDF
Case stydy cs701
PPT
Unit-II(STATIC UML DIAGRAMS).ppt
PPT
object oriented modelng and design-unit-ii-cgpa.ppt
PPT
Chapter1
PDF
Chapter-2 UML and UML Diagrams.pdf
PPT
Architectural Design Software Engineering 7th Edition
PPT
Architectural Design Software Engineering 7th Edition
PPTX
Ch7 Implementation.pptx of computer network uet lahore
PDF
PPTX
Unified Modeling Language (UML)
06-unit-iintrouml25sep2015-160901172758.pptx
Apostila UML
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
4_5904551816829340505wewewewewewewew.ppt
Introduction to Unified Modeling Language
presentationonuml-160922100115 used for case tools lab
Presentation on uml
Introduction To Uml
Unit 2 - Unified Modeling Language (UML).pdf
Case stydy cs701
Unit-II(STATIC UML DIAGRAMS).ppt
object oriented modelng and design-unit-ii-cgpa.ppt
Chapter1
Chapter-2 UML and UML Diagrams.pdf
Architectural Design Software Engineering 7th Edition
Architectural Design Software Engineering 7th Edition
Ch7 Implementation.pptx of computer network uet lahore
Unified Modeling Language (UML)
Ad

UML

  • 1. 11/10/15 Winlex Ltd. 1 Rational Unified Process and Unified Modelling Language Vinil Gupta
  • 2. Winlex Ltd. 211/10/15 UML History  Grady Booch – methodology  Ivar Jacobson – methodology *  Jim Rumbaugh – Object Modelling Techniques  Many others
  • 3. Winlex Ltd. 311/10/15 Why UML  Provides visual syntax throughout SDLC  Suitable for most applications and is platform neutral  Provides excellent support for pure OO languages, hybrid OO languages and non- OO languages.  Supports UP for OO systems and other engineering processes
  • 4. Winlex Ltd. 411/10/15 Objects and UML  UML models the world as system of interacting objects  An Object is a cohesive cluster of data and function  Two aspect of UML: 1. Static Structure 2. Dynamic Behaviour
  • 5. Winlex Ltd. 511/10/15 UML Structure 1. Building Blocks – basic modelling elements, relationships and diagrams 2. Common Mechanism – way of achieving specific goal 3. Architect – view of system architecture
  • 6. Winlex Ltd. 611/10/15 1. Building Blocks  Things – modelling elements themselves  Relationship – specifies how things are semantically related  Diagrams – view into models; collection of things that tells a story about the software system; how it will do something
  • 7. Winlex Ltd. 711/10/15 1.Things In UML modelling elements are called things  Structured things – class, interface, collaboration, use case, active class, component, node  Behaviour things – interactions, state machines  Group things – package of semantically related modelling elements  Annotational things – ad hoc info; yellow sticker
  • 8. Winlex Ltd. 811/10/15 2.Relationship  Description of a set of link between objects  A change to a thing affects the semantics of a dependent thing  One element is a specialisation of another; substituted more general element  One classifier specifies a contract that the other classifier guarantees to carry out
  • 9. Winlex Ltd. 911/10/15 3. Diagrams  Diagrams contains things. Things can be deleted from diagram but not from model  Diagrams are only views into the model and not the model itself  There are a total of nine different UML diagrams (i) Static Model; (ii) Dynamic Model
  • 10. Winlex Ltd. 1011/10/15 3.Diagrams  Static Model – System structure 1. Class diagram 2. Component Diagrams 3. Deployment Diagram
  • 11. Winlex Ltd. 1111/10/15 3.Diagrams  Dynamic Model – System behaviour 1. Object diagram 2. Use Case diagram 3. Sequence diagram 4. Collaboration diagram 5. Statechart diagram 6. Activity diagram
  • 12. Winlex Ltd. 1211/10/15 UML Common Mechanism UML has four common mechanism 1. Specifications 2. Adornments 3. Common divisions 4. Extensibility mechanism
  • 13. Winlex Ltd. 1311/10/15 1.Specification Specifications are the meat of the UML model. They provide the semantic backplane of the model. UML model has at least two dimensions 1. Graphic dimensions – diagram 2. Textural dimensions – specifications textual descriptions of the semantics of an element
  • 14. Winlex Ltd. 1411/10/15 1.Specification UML models may be:  Elided – some elements from diagrams to simplify the view  Incomplete – some elements may be missing entirely  Inconsistent – model may contain contradictions
  • 15. Winlex Ltd. 1511/10/15 2.Adornments A feature of UML that allows a symbol to every modelling element, to which number of adornments
  • 16. Winlex Ltd. 1611/10/15 3.Common Division Common division describe particular way of thinking about world. Two common UML divisions are: 1. Classifier and instance • Classifier – an abstract notion e.g. a type of bank account • Instance – a concrete thing e.g. my bank account
  • 17. Winlex Ltd. 1711/10/15 3.Common Division 1. Classifier and Instance – In UML an instance usually has the same icon as the corresponding classifier, but for instance the name on the icon is underlined
  • 18. Winlex Ltd. 1811/10/15 3.Common Division 2. Interface and implementation The principle here is to separate what something does from how it does it • Interface – e.g. the buttons on front of your CD recorder – similar to a legal contract • Implementation – e.g. the mechanism inside your CD recorder
  • 19. Winlex Ltd. 1911/10/15 4. Extensibility Mechanisms 1. Constraints – These extend the semantics of element by allowing us to add new rules 2. Stereotypes – allows us to add a new modelling element based on existing one – we define the semantics of the stereotype ourselves; Stereotype add new element to the UML metamodel 3. Tagged value – allows us to add new ad hoc information to element’s specification
  • 20. Winlex Ltd. 2011/10/15 4. Extensibility Mechanisms 1. Constraints – simply a text in in braces { } that specifies rules that must be maintained as true. 2. Stereotype – represent a variation on existing element but with a different intent. Each element can have at most one stereotype, define a set of tagged values and constraints, associate a new icon. You have to define semantics of the new element somewhere i.e. put a note on the model or refer to doc. Use ST name in << >>or the icon. You can ST relationships as well as classes
  • 21. Winlex Ltd. 2111/10/15 4. Extensibility Mechanisms 3. Tagged Values – allow you to add your own properties to model elements. {tag1=value1, tag2=value2, …, tagN=valueN} i.e. {auther=Vinil Gupta}
  • 22. Winlex Ltd. 2211/10/15 Architecture The organisational structure of a system, including its decomposition into parts, their connectivity, interaction, mechanism and the guiding principles that inform the design of a system OR The highest-level concept of a system in its envionment
  • 23. Winlex Ltd. 2311/10/15 Architecture UML captures the strategic aspects of a system in a “4+1 view” of architecture Logical view Process view Implementation view Deployment view Use Case view
  • 25. Winlex Ltd. 2511/10/15 Architecture 1. Logical View - captures the vocabulary of problem domain as a set of classes and objects. The emphasis is on showing how the object and classes that compose the system, implement the required system behaviour.
  • 26. Winlex Ltd. 2611/10/15 Architecture 2. Process View – models the executable threads and processes in our system as active classes. It is really a process in our system as active classes. It is really a process-oriented variation on the logical view, and contains all the same artfeacts.
  • 27. Winlex Ltd. 2711/10/15 Architecture 3. Implementation view - models the files and components that make up the physical code base of the system. It is also about illustrating dependencies between components, and about configuration management of set of components to define a version of the system.
  • 28. Winlex Ltd. 2811/10/15 Architecture 4. Deployment View - models the physical deployment of components onto a set of physical, computational nodes such as computers and peripherals. It allows you to model the distribution of components across the nodes of a distributed system.
  • 29. Winlex Ltd. 2911/10/15 Architecture 5. Use Case View – all of the other views derived from the use case view. This view captures the basic requirements for the system as a set of use cases and provides the basis for the construction of other views.
  • 30. Winlex Ltd. 3011/10/15 Architecture Under UP the 4+1 architecture is not created in one go, rather it evolves over time, using stepwise refinements. Each iteration captures just enough information about the system to allow it to be built.

Editor's Notes

  • #3: Need a diagram from page 6 ; Object Management Group (OMG) In 1994 Booch &amp; Rumbaugh joined Rational to work on UML UML is now an open industry standard Sally Shlaer &amp; Steve Mellor (1989/91/97); Peter Coad &amp; Ed Yourdon (1991/93/95) Jim Odell &amp; James Martin (1994/96) Ivar Jacobson (1994/95) – use cases
  • #4: Visual Modelling language UML 2.0
  • #5: UML can model software and other systems as collections of collaborative objects This is clearly a great fit with OO software systems and languages, but it also works well with business processes and other applications Two aspects of UML: Static Structure – describes objects that are important for system modelling and their relationships Dynamic Behaviour – Describes lifecycles of objects and how they collaborate together to deliver required system functionality
  • #9: Association – Description of a set of links between objects
  • #16: A feature of UML that allows a symbol to every modelling element, to which number of adornments
  • #17: Classifiers such as Actor, Class, Classifier role, Component, Datatype, Interface, Node, Signal, Subsystem, Use Case
  • #18: Instance – In UML an instance usually has the same icon as the corresponding classifier, but for instance the name on the icon is underlined
  • #20: UML is an extensible modelling language