UML MODELING
UML MODELING
UML Diagrams
What is UML?
• An industry-standard graphical language for specifying, visualizimg ,
constructing, and documenting the artifacts of software systems as
well as business modeling.
• The UML uses mostly graphical notations to express the analysis and
design of software projects.
Why a UML for modeling ?
• Uses graphical notations to communicate more clearly than netural
language and code.
• Make it easier for programmers and software architects to
communicate.
• UML is not dependent on any one language or technology.
. UML
Diagram
Behavior
diagram Structure diagram
Booking
Payment
Admin
Customer
Generate reports
Cancel
booking
Activity Diagram:
• The activity diagram is a flowchart to represent the flow of control
among the activities in a System.
• The flow of operation can be a sequential,brunched or concurrent
.the activity of diagram sometimes considered as the flowchart.
Insert card
Enter pin
Checking
enter money
Transaction failed
Submit
0……..1 0………………1
0….* 1
1 Customer 1
BENEFITS OF UML I SOFTWARE MODELLING :
Standardized Language: UML provides a common language for software
modeling, ensuring clarity and consistency.
1. Create Use Case Diagrams: Capture system functionality and user interactions.
1. Validate and Refine: Review and refine the models to ensure accuracy and completeness.
TYPES OF UML IN SOFTWARE MODELLING :
Diagram
Structure
Behavior diagram
diagram
Class Diagram
Component Diagram
Deployment Diagram
Object Diagram
Package Diagram
Composite Structure Diagram
Profile Diagram
BEHAVIORAL DIAGRAMS :
Behavior diagrams show the dynamic behavior of the objects in a system, which can be
described as a series of changes to the system over time, there are seven types of behavior
diagrams as follows:
➡️ It is conceptually rich.
➡️ It’s concise.
➡️ It’s comprehensive.
➡️ It’s scalable
UML Diagram
• UML include the following nine diagrams ;
• UML standard diagrams
• Structural modelling
• class diagram
• object
• Implementation
• component
• deployment
• Behavioral diagram
• Behavioral diagram
• Use case diagram
• Interaction diagram
• sequence diagram
• collaboration diagram
• Statechart diagram
• Activity diagram
Common uses of UML diagram
• Class diagrams
• model the vocabulary of the system
• Model simple collaburations
• Model a logical database schema
• Object diagrams
• Model object structures
• Primary support of the functional requirements of the system
• Use case diagrams
• Model the context of the system
• Model requirements of the system
Common uses of UML diagram (contd)
Interaction diagrams
Sequence diagram
• model interaction among object in time sequence
Collaboration diagram
• Model flow of control by the organization
State chart diagrams
• Model dynamic aspects event-ordered behavior of singal use case
• Model reactive objects
Activity diagrams
• Model a work flow of a singal use case or for the entire software
• Model an operation
• Common uses of UML diagrams (contd)
• Implementation diagrams
• Component diagrams
• Model static implementation view
• Model source code
• Model executable releases
• Model physical database
• Model adaptable systems
• Deployment diagrams
• Model embedded system
• Model client server system