Professional Documents
Culture Documents
Unit III Full
Unit III Full
Unit III Full
UML MODELING
UML MODELING
• UML is used to specify, visualize, construct, and document the artifacts (major
• It was initially developed by Grady Booch, Ivar Jacobson and James Rumbaugh in
1994-95 at Rational Software, and its further development was carried out through
1996.
UML MODELING
CHARACTERISTICS OF UML
• It is a generalized modeling language.
• The UML diagrams are made for business users, developers, ordinary
people, or anyone who is looking forward to understanding the system.
W H Y U M L M O D E L I N G I S I M P O RTA N T
• Visual Representation
• Abstraction
• Communication
• Documentation
• Design and Analysis
• Code Generation
• Collaboration
• Software Maintenance
• Project Management
A D VA N TA G E O F U M L
• Improved Communication
• Visualization
• Code Generation
• Error Detection
• Collaboration
• Model Reuse
• Project Management
R E L AT I O N S H I P S
R E L AT I O N S H I P S
1.Association
• An association represents a bi-directional relationship between two or more
classes or objects.
• Association can be one-to-one, one-to-many, many-to-one, many-to-many.
• It is represented by a line between the classes.
R E L AT I O N S H I P S
• N-ary association.
• An N-ary association in Unified Modeling Language (UML) represents a
relationship between two entities.
• N-ary associations are used when you need to represent complex
relationships in a system where multiple elements are interrelated.
R E L AT I O N S H I P S
2. Aggregation
• Aggregation is a subset of association, which is a collection of different
things.
• Objects are independent.
• In Aggregation, both entries can survive individually which means ending
one entity will not affect the other entity.
R E L AT I O N S H I P S
3. Composition
• Composition is a restricted form of Aggregation in which two entities are
highly dependent on each other.
• In composition, both entities are dependent on each other.
UML
Structural Diagrams
Behavioral Diagrams
UML
Structural Diagrams
Behavioral Diagrams
UML
Structural Diagrams
• Structural diagrams in the Unified Modeling Language (UML) are used to represent
the static structure of a system or software application.
• They help visualize the components, classes, objects, relationships, and their
interactions within the system.
• Class diagram
• Component diagram
• Deployment diagram
COMPONENT DIAGRAM
• Both the deployment diagram and the component diagram are closely
interrelated to each other as they focus on software and hardware
components. The component diagram represents the components of a
system, whereas the deployment diagram describes how they are deployed
on the hardware.
• A component
• An artifact
• An interface
• A node
DEPLOYMENT DIAGRAM
DEPLOYMENT DIAGRAM
• Activity diagram
• Activities
• Association
• Conditions
• Constraints
ACTIVITY DIAGRAMS