blob: 44d4def416347a5b6315eb9e64d09ee4ac223d29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
package com.vaadin.tests.util;
import java.util.ArrayList;
import java.util.List;
public class Millionaire extends Person {
private List<Address> secondaryResidences = new ArrayList<Address>();
public Millionaire() {
}
public Millionaire(String firstName, String lastName, String email,
String phoneNumber, String streetAddress, int postalCode,
String city) {
super(firstName, lastName, email, phoneNumber, streetAddress,
postalCode, city);
}
public List<Address> getSecondaryResidences() {
return secondaryResidences;
}
}
|