Software Engineering Cheat Sheet: by Via
Software Engineering Cheat Sheet: by Via
An entity is a thing that exists either physically or logically. Entities Entity-relationship models
can be thought of as nouns: a company, a computer. Class diagram
A relationship captures how entities are related to one another. Data modeling
Relationships can be thought of as verbs, linking two or more nouns.
Use case
Entities and relationships can both have attributes.
Every entity must have a minimal set of uniquely identifying attrib‐ UML diagrams
utes, which is called the entity's primary key.
class a type of static structure diagram that describes the
diagram structure of a system by showing the system's classes,
Relation representation
their attributes, operations, and the relationships among
objects.
object shows a complete or partial view of the system at a
diagramm given moment of time
Class diagramm
+ public
- private
In each case, the diagram shows the relationship between a person / derived
and a place of birth: each person must have been born at one, and ~ package
only one, location, but each location may have had zero or more
To specify the visibility of a class member (i.e. any attribute or
people born at it.
method), these notations must be placed before the member's name
Class-level relationship
General relationship