Slide 20
Slide 20 text
COMMONLY SEEN AS:
OH NO, NOT AGAIN!
public final class Customer {
private final CustomerId customerId;
private Name name;
...
public Customer(CustomerId customerId, Name name, ...) {
this.customerId = customerId;
this.name = name;
...
}
...getters, some setters...
}