Client.java
1 |
|
2 |
|
3 |
/** |
4 |
* @author Maarten Vangeneugden - 1438256 |
5 |
*/ |
6 |
public class Client { |
7 |
|
8 |
private int ID; |
9 |
private String name; |
10 |
private String email; |
11 |
private List<String> preferences; |
12 |
private String birthDate; |
13 |
private String memberSince; |
14 |
private List<Article> lendedArticles; |
15 |
|
16 |
public Client(int ID, String name, String email, List<String> preferences, String birthDate, String memberSince, List<Article> lendedArticles) { |
17 |
this.ID = ID; |
18 |
this.name = name; |
19 |
this.email = email; |
20 |
this.preferences = preferences; |
21 |
this.birthDate = birthDate; |
22 |
this.memberSince = memberSince; |
23 |
this.lendedArticles = lendedArticles; |
24 |
} |
25 |
|
26 |
public void setID(int ID) { |
27 |
this.ID = ID; |
28 |
} |
29 |
|
30 |
public int getID() { |
31 |
return ID; |
32 |
} |
33 |
|
34 |
public void setName(String name) { |
35 |
this.name = name; |
36 |
} |
37 |
|
38 |
public String getName() { |
39 |
return name; |
40 |
} |
41 |
|
42 |
public void setEmail(String email) { |
43 |
this.email = email; |
44 |
} |
45 |
|
46 |
public String getEmail() { |
47 |
return email; |
48 |
} |
49 |
|
50 |
public void setPreferences(List<String> preferences) { |
51 |
this.preferences = preferences; |
52 |
} |
53 |
|
54 |
public List<String> getPreferences() { |
55 |
return preferences; |
56 |
} |
57 |
|
58 |
public void setBirthDate(String birthDate) { |
59 |
this.birthDate = birthDate; |
60 |
} |
61 |
|
62 |
public String getBirthDate() { |
63 |
return birthDate; |
64 |
} |
65 |
|
66 |
public void setMemberSince(String memberSince) { |
67 |
this.memberSince = memberSince; |
68 |
} |
69 |
|
70 |
public String getMemberSince() { |
71 |
return memberSince; |
72 |
} |
73 |
|
74 |
} |
75 |