SlideShare a Scribd company logo
Computer System Software
Unified Modeling Language
Suman Aggarwal
A.P in CSE Deptt.
www.advanced.edu.in
Unified Modeling Language
UML is a standard language for specifying, visualizing,
constructing and documenting the artifacts of software
systems.
UML was created by Object Management Group (OMG).
UML provides an overview of the most important
diagrams used in the visual modeling of computing
programs.
www.advanced.edu.in
Features of UML
1. UML visually showing the overall architecture of the
system.
2. UML showing the same system from different points of
view (abstraction).
3. A standard graphical set of shapes representing generic
objects within a system.
4. A way of defining functions / methods that can change
the state of each object.
5. A way of showing how the objects interact with one
another.
6. Making it possible to generate code directly from an
UML diagram.
www.advanced.edu.in
Class Diagram
The class diagram shows a collection of classes, interfaces,
associations, collaborations and constraints. It is also known
as a structural diagram.
Class Diagram includes:
Analysis and design of the static view of an application.
Describe responsibilities of a system.
Base for component and deployment diagrams.
Forward and reverse engineering.
www.advanced.edu.in
Class Diagram
A Class Diagram is a diagram describing the structure of a
system
 shows the system's
classes
Attributes(Status)
operations (or methods),(Behavior)
Relationships among the classes.
Associations
Generalization
Realization
Dependency
www.advanced.edu.in
Class
A Class Diagram is a diagram describing the structure of
a system
Class NameClass Name
attributesattributes
operationsoperations
The name of the class is the only required
tag in the graphical representation of a
class. It always appears in the top-most
compartment.
An attribute is a named property of a
class that describes the object being modeled.
In the class diagram, attributes appear in
the second compartment just below the
name-compartment.
www.advanced.edu.in
Class Operations
person
name :
String
address :
Address
birth date :
Eat ()
Sleep ()
Play ()
Work ()
Operations describe the class behavior
and appear in the third compartment.
Attributes and operations may
have their visibility marked:
"+" for public
"#" for protected
"−" for private
"~" for package
www.advanced.edu.in
Associations
An association between two classes indicates that objects at one end
of an association “recognize” objects at the other end and may send
messages to them.
Example: “A Faculty works for an Institution”
Faculty Institution
www.advanced.edu.in
Associations (cont.)
•To clarify its meaning, an association may be
named.
•The name is represented as a label placed
midway along the association line.
•A role is an end of an association where it
connects to a class.
•May be named to indicate the role played by the
class attached to the end of the association path.
www.advanced.edu.in
Associations (cont.)
Multiplicity
The number of objects that participate in the association.
Indicates whether or not an association is mandatory.
Exactly one 1
Zero or more (unlimited) * (0..*)
One or more 1..*
Zero or one (optional association) 0..1
Specified range 2..4
Multiple, disjoint ranges 2, 4..6, 8
Multiplicity Indicators
www.advanced.edu.in
Aggregation (Shared Association)
In cases where there’s a part-of relationship between ClassA
(whole) and ClassB (part), we can be more specific and use the
aggregation link instead of the association link, taking special
notice that ClassB can also be aggregated by other classes in the
application (therefore aggregation is also known as shared
association).
www.advanced.edu.in
Aggregation (Shared Association)
www.advanced.edu.in
Composition (Not-Shared Association)
A strong form of aggregation
•The whole is the sole owner of its part.
•The part object may belong to only one whole
•Multiplicity on the whole side must be zero or one.
•The life time of the part is dependent upon the whole.
•The composite must manage the creation and destruction of
its parts.
www.advanced.edu.in
Composition (Not-Shared Association)
www.advanced.edu.in
Generalization
A sub-class inherits from its super-class
Attributes
Operations
Relationships
A sub-class may
Add attributes and operations
Add relationships
Refine (override) inherited operations
A generalization relationship may not be used to
model interface implementation.
www.advanced.edu.in
Generalization
A generalization is a binary taxonomic (i.e. related to
classification) directed relationship between a more general
classifier(super class) and a more specific classifier (subclass).
A generalization is shown as a line with a hollow triangle as an
arrowhead between the symbols representing the involved
classifiers. The arrowhead points to the symbol representing the
general classifier. This notation is referred to as the "separate
target style."
www.advanced.edu.in
Generalization
Checking, Savings, and Credit Accounts are generalized by Account
www.advanced.edu.in
www.advanced.edu.in
“THANK YOU”
Suman Aggarwal
Assistant Professor
Advanced Educational Institutions
Advanced Educational Institutions,
70 km Milestone,
Delhi-Mathura Road, Dist. Palwal, Haryana-121105
+91–1275–398400, 302222
Contact Email Id: sumanaggrawal@gmail.com
Website: http://www.advanced.edu.in

More Related Content

What's hot (20)

PPT
Chapter3
Dang Tuan
 
PPT
Eer case study
saurabhshertukde
 
PPTX
Ppt of dbms e r features
Nirali Akabari
 
PDF
Fundamentals of Database Systems Questions and Answers
Abdul Rahman Sherzad
 
PPT
Uml
Sulman Ahmed
 
PPT
Ch 3 E R Model
guest8fdbdd
 
PDF
Package Diagram
University of Texas at Dallas
 
DOC
Uml examples
Amit Gandhi
 
PPT
Uml(unified modeling language) Homework Help
Steve Nash
 
PPSX
EER Model
Rahul Mukherjee
 
PPT
Ch 6 Logical D B Design
guest8fdbdd
 
PPTX
Object oriented programming c++
Rajes Wari
 
PPSX
Class Diagram for Online Examination system
HASIM ALI
 
PPTX
Enhanced ER(database)
welcometofacebook
 
DOCX
Chapter 4: Enhanced Entity-Relationship and Object Modeling
Raj vardhan
 
PDF
SE_Lec 06_Object Oriented Analysis and Design
Amr E. Mohamed
 
PPT
Uml in software engineering
Mubashir Jutt
 
PPTX
Uml
Havi K
 
ODP
Uml
parag
 
PPTX
Presentation on uml
Shruti Dalela
 
Chapter3
Dang Tuan
 
Eer case study
saurabhshertukde
 
Ppt of dbms e r features
Nirali Akabari
 
Fundamentals of Database Systems Questions and Answers
Abdul Rahman Sherzad
 
Ch 3 E R Model
guest8fdbdd
 
Uml examples
Amit Gandhi
 
Uml(unified modeling language) Homework Help
Steve Nash
 
EER Model
Rahul Mukherjee
 
Ch 6 Logical D B Design
guest8fdbdd
 
Object oriented programming c++
Rajes Wari
 
Class Diagram for Online Examination system
HASIM ALI
 
Enhanced ER(database)
welcometofacebook
 
Chapter 4: Enhanced Entity-Relationship and Object Modeling
Raj vardhan
 
SE_Lec 06_Object Oriented Analysis and Design
Amr E. Mohamed
 
Uml in software engineering
Mubashir Jutt
 
Uml
Havi K
 
Uml
parag
 
Presentation on uml
Shruti Dalela
 

Viewers also liked (6)

PDF
reveal.js 3.0.0
Hakim El Hattab
 
PDF
Things to consider when selling your house (Winter Edition 2015)
Marcus White ARM®, CAM, Realtor®
 
PPTX
Epidemiologi deskriptif dan analitik Penyakit DBD di Kelurahan Keraton Martap...
sofian.alfarisi
 
PDF
BenefitHub_booklet_forEmail+print
Dan McNeillie
 
PDF
Zhong Nottingham Jan 2012 [FINAL]
Weihao Zhong
 
DOCX
Guia 1 de trabajo hl motherboard
Inmaculada Concepción
 
reveal.js 3.0.0
Hakim El Hattab
 
Things to consider when selling your house (Winter Edition 2015)
Marcus White ARM®, CAM, Realtor®
 
Epidemiologi deskriptif dan analitik Penyakit DBD di Kelurahan Keraton Martap...
sofian.alfarisi
 
BenefitHub_booklet_forEmail+print
Dan McNeillie
 
Zhong Nottingham Jan 2012 [FINAL]
Weihao Zhong
 
Guia 1 de trabajo hl motherboard
Inmaculada Concepción
 
Ad

Similar to Css uml (20)

PDF
Introduction to UML, a guide to learn.pdf
TARGARYEN001
 
PPT
08 class and sequence diagrams
kebsterz
 
PPT
UML-class diagram for beginners to adance.ppt
WorkDrive2
 
PPT
cse 355 UML class diagram software engineering.ppt
Safaet Hossain
 
PPT
UML-class_diagram.ppt
PragnyaNandaSabat
 
PPT
UML-class_diagram.ppt diagrams ppt download
divijareddy0502
 
DOCX
Chapterunifiedmo 3 UML Class Diagram.docx
MohammedNouh7
 
PPTX
UNIT II STATIC UML DIAGRAMS.pptx
anguraju1
 
PPTX
210280107093_CLASS_DIAGRAM.pptx
HimeshNayi
 
PDF
Lesson #04 - Software Engineering - Practice.pdf
BeksultanMustafin
 
PPT
Lecture12 software design class diagram
Shahid Riaz
 
PPT
Slide 5 Class Diagram
Niloy Rocker
 
PPTX
introofUML.pptx
RojaPogul1
 
PPT
Uml - An Overview
Raj Thilak S
 
PPT
Object and class relationships
Pooja mittal
 
PPT
Descriptions of class diagrams in software
ssuser9d62d6
 
PPTX
Lecture 06.pptxLecture 06.pptxLecture 06.pptx
EnghamzaKhalailah
 
PPT
Unit 2(advanced class modeling & state diagram)
Manoj Reddy
 
PPT
objectmodeling-121201024636-phpapp01.ppt
DrKBManwade
 
PPTX
FALLSEM2024-25_SWE2018_ETH_VL2024250103302_2024-10-04_Reference-Material-I.pptx
yadavdkshitij2003
 
Introduction to UML, a guide to learn.pdf
TARGARYEN001
 
08 class and sequence diagrams
kebsterz
 
UML-class diagram for beginners to adance.ppt
WorkDrive2
 
cse 355 UML class diagram software engineering.ppt
Safaet Hossain
 
UML-class_diagram.ppt
PragnyaNandaSabat
 
UML-class_diagram.ppt diagrams ppt download
divijareddy0502
 
Chapterunifiedmo 3 UML Class Diagram.docx
MohammedNouh7
 
UNIT II STATIC UML DIAGRAMS.pptx
anguraju1
 
210280107093_CLASS_DIAGRAM.pptx
HimeshNayi
 
Lesson #04 - Software Engineering - Practice.pdf
BeksultanMustafin
 
Lecture12 software design class diagram
Shahid Riaz
 
Slide 5 Class Diagram
Niloy Rocker
 
introofUML.pptx
RojaPogul1
 
Uml - An Overview
Raj Thilak S
 
Object and class relationships
Pooja mittal
 
Descriptions of class diagrams in software
ssuser9d62d6
 
Lecture 06.pptxLecture 06.pptxLecture 06.pptx
EnghamzaKhalailah
 
Unit 2(advanced class modeling & state diagram)
Manoj Reddy
 
objectmodeling-121201024636-phpapp01.ppt
DrKBManwade
 
FALLSEM2024-25_SWE2018_ETH_VL2024250103302_2024-10-04_Reference-Material-I.pptx
yadavdkshitij2003
 
Ad

Recently uploaded (20)

PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
DOC
MRRS Strength and Durability of Concrete
CivilMythili
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPTX
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
PPTX
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
Day2 B2 Best.pptx
helenjenefa1
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
MRRS Strength and Durability of Concrete
CivilMythili
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 

Css uml

  • 1. Computer System Software Unified Modeling Language Suman Aggarwal A.P in CSE Deptt. www.advanced.edu.in
  • 2. Unified Modeling Language UML is a standard language for specifying, visualizing, constructing and documenting the artifacts of software systems. UML was created by Object Management Group (OMG). UML provides an overview of the most important diagrams used in the visual modeling of computing programs. www.advanced.edu.in
  • 3. Features of UML 1. UML visually showing the overall architecture of the system. 2. UML showing the same system from different points of view (abstraction). 3. A standard graphical set of shapes representing generic objects within a system. 4. A way of defining functions / methods that can change the state of each object. 5. A way of showing how the objects interact with one another. 6. Making it possible to generate code directly from an UML diagram. www.advanced.edu.in
  • 4. Class Diagram The class diagram shows a collection of classes, interfaces, associations, collaborations and constraints. It is also known as a structural diagram. Class Diagram includes: Analysis and design of the static view of an application. Describe responsibilities of a system. Base for component and deployment diagrams. Forward and reverse engineering. www.advanced.edu.in
  • 5. Class Diagram A Class Diagram is a diagram describing the structure of a system  shows the system's classes Attributes(Status) operations (or methods),(Behavior) Relationships among the classes. Associations Generalization Realization Dependency www.advanced.edu.in
  • 6. Class A Class Diagram is a diagram describing the structure of a system Class NameClass Name attributesattributes operationsoperations The name of the class is the only required tag in the graphical representation of a class. It always appears in the top-most compartment. An attribute is a named property of a class that describes the object being modeled. In the class diagram, attributes appear in the second compartment just below the name-compartment. www.advanced.edu.in
  • 7. Class Operations person name : String address : Address birth date : Eat () Sleep () Play () Work () Operations describe the class behavior and appear in the third compartment. Attributes and operations may have their visibility marked: "+" for public "#" for protected "−" for private "~" for package www.advanced.edu.in
  • 8. Associations An association between two classes indicates that objects at one end of an association “recognize” objects at the other end and may send messages to them. Example: “A Faculty works for an Institution” Faculty Institution www.advanced.edu.in
  • 9. Associations (cont.) •To clarify its meaning, an association may be named. •The name is represented as a label placed midway along the association line. •A role is an end of an association where it connects to a class. •May be named to indicate the role played by the class attached to the end of the association path. www.advanced.edu.in
  • 10. Associations (cont.) Multiplicity The number of objects that participate in the association. Indicates whether or not an association is mandatory. Exactly one 1 Zero or more (unlimited) * (0..*) One or more 1..* Zero or one (optional association) 0..1 Specified range 2..4 Multiple, disjoint ranges 2, 4..6, 8 Multiplicity Indicators www.advanced.edu.in
  • 11. Aggregation (Shared Association) In cases where there’s a part-of relationship between ClassA (whole) and ClassB (part), we can be more specific and use the aggregation link instead of the association link, taking special notice that ClassB can also be aggregated by other classes in the application (therefore aggregation is also known as shared association). www.advanced.edu.in
  • 13. Composition (Not-Shared Association) A strong form of aggregation •The whole is the sole owner of its part. •The part object may belong to only one whole •Multiplicity on the whole side must be zero or one. •The life time of the part is dependent upon the whole. •The composite must manage the creation and destruction of its parts. www.advanced.edu.in
  • 15. Generalization A sub-class inherits from its super-class Attributes Operations Relationships A sub-class may Add attributes and operations Add relationships Refine (override) inherited operations A generalization relationship may not be used to model interface implementation. www.advanced.edu.in
  • 16. Generalization A generalization is a binary taxonomic (i.e. related to classification) directed relationship between a more general classifier(super class) and a more specific classifier (subclass). A generalization is shown as a line with a hollow triangle as an arrowhead between the symbols representing the involved classifiers. The arrowhead points to the symbol representing the general classifier. This notation is referred to as the "separate target style." www.advanced.edu.in
  • 17. Generalization Checking, Savings, and Credit Accounts are generalized by Account www.advanced.edu.in
  • 18. www.advanced.edu.in “THANK YOU” Suman Aggarwal Assistant Professor Advanced Educational Institutions Advanced Educational Institutions, 70 km Milestone, Delhi-Mathura Road, Dist. Palwal, Haryana-121105 +91–1275–398400, 302222 Contact Email Id: [email protected] Website: http://www.advanced.edu.in