1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 package org.nuiton.validator.model;
23
24
25
26
27
28 public class Contact {
29
30 public static final String PROPERTY_LAST_NAME = "name";
31
32 public static final String PROPERTY_EMAIL = "email";
33
34 public static final String PROPERTY_PHONE = "phone";
35
36 public static final String PROPERTY_POSTCODE = "postCode";
37
38 public static final String PROPERTY_CITY = "city";
39
40 protected String name;
41
42 protected String email;
43
44 protected String phone;
45
46 protected String postCode;
47
48 protected String city;
49
50 public String getEmail() {
51 return email;
52 }
53
54 public void setEmail(String email) {
55 this.email = email;
56 }
57
58 public String getPhone() {
59 return phone;
60 }
61
62 public void setPhone(String phone) {
63 this.phone = phone;
64 }
65
66 public String getPostCode() {
67 return postCode;
68 }
69
70 public void setPostCode(String postCode) {
71 this.postCode = postCode;
72 }
73
74 public String getCity() {
75 return city;
76 }
77
78 public void setCity(String city) {
79 this.city = city;
80 }
81
82 public String getName() {
83 return name;
84 }
85
86 public void setName(String name) {
87 this.name = name;
88 }
89 }