View Javadoc
1   /*
2    * #%L
3    * Nuiton Validator
4    * %%
5    * Copyright (C) 2013 - 2014 Code Lutin, Tony Chemit
6    * %%
7    * This program is free software: you can redistribute it and/or modify
8    * it under the terms of the GNU Lesser General Public License as 
9    * published by the Free Software Foundation, either version 3 of the 
10   * License, or (at your option) any later version.
11   * 
12   * This program is distributed in the hope that it will be useful,
13   * but WITHOUT ANY WARRANTY; without even the implied warranty of
14   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   * GNU General Lesser Public License for more details.
16   * 
17   * You should have received a copy of the GNU General Lesser Public 
18   * License along with this program.  If not, see
19   * <http://www.gnu.org/licenses/lgpl-3.0.html>.
20   * #L%
21   */
22  package org.nuiton.validator.model;
23  
24  /**
25   * @author Jean Couteau - couteau@codelutin.com
26   * @since 2.3
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  }