Introduction to UML Diagrams
Four Fundamental UML Diagrams
- The objective of the Unified Modeling Language is to provide a common vocabulary of object-based terms and diagramming techniques that is rich enough to model any systems development project from analysis to design.
- The current version of UML, version 2.0
- Two types:-
- Structure diagrams - representing the data and static relationships
- Behavior diagrams - depict the dynamic relation-ships among the instances or objects
Major UML 2.0 Diagrams
Four Fundamental UML Diagrams
- Use Case Diagram
- Capture business requirements for the system
- Illustrate the interaction between the system and its environment
- Class Diagram
- Illustrate the relationships between classes modeled in the system
- Sequence Diagram
- Model the behavior of objects within a use case
- Focuses on the time-based ordering of an activity
- State Machine Diagram
- Examine the behavior of one class