1 of 6

Use Case Diagram�& Class Diagram

2 of 6

Use Case Diagram

  • behavior diagrams used to describe a set of actions (use cases) that some system or systems (subject) should or can perform in collaboration with one or more external users of the system (actors)
  • Each use case should provide some observable and valuable result to the actors or other stakeholders of the system

3 of 6

UML use case diagrams are ideal for:

  • Representing the goals of system-user interactions
  • Defining and organizing functional requirements in a system
  • Specifying the context and requirements of a system
  • Modeling the basic flow of events in a use case

​

4 of 6

5 of 6

Class Diagram

  • Modeling classes, attributes, operations, and relationships between objects
  • Essential elements of UML class diagram are:
    • Class Name
    • Attributes
    • Operations
  • Relationships:
    • Generalization
    • Association
    • Aggregation

​

6 of 6

Elements of the class diagram