UML Bookmarks

Published: 2021-10-24, Updated: 2023-06-15

Links

Class Diagram

Purpose of Class Diagrams

  1. Shows static structure of classifiers in a system
  2. Diagram provides a basic notation for other structure diagrams prescribed by UML
  3. Helpful for developers and other team members too
  4. Business Analysts can use class diagrams to model systems from a business perspective

RelationShips

Inheritance (or Generalization)

Implementation

Mustang is a Car, so Mustang implements the Car interface

Simple Association

There is an association between Class1 and Class2

Aggregation

A special type of association. It represents a "part of" relationship.

Composition

A special type of aggregation where parts are destroyed when the whole is destroyed.

Dependency / Use

If class one changes affects class two, then class one depends class two

Relationship

Names

Roles

Navigability

The diagram above suggests that,

Projetos UML de exemplo com código java gerado para exemplificação


Eleições 2018 Bike Bookmarks

Comments