Major update to the latest CDM definition 2.Nov.2007
[cdmlib.git] / cdmlibrary / src / main / java / eu / etaxonomy / cdm / model / agent / Contact.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package etaxonomy.cdm.model.agent;
11
12
13 import etaxonomy.cdm.model.common.VersionableEntity;
14 import org.apache.log4j.Logger;
15
16 /**
17 * http://rs.tdwg.org/ontology/voc/ContactDetails#ContactDetails
18 * @author m.doering
19 * @version 1.0
20 * @created 02-Nov-2007 18:14:41
21 */
22 public class Contact extends VersionableEntity {
23 static Logger logger = Logger.getLogger(Contact.class);
24
25 @Description("")
26 private String email;
27 @Description("")
28 private String url;
29 @Description("")
30 private String phone;
31 @Description("")
32 private String fax;
33 private ArrayList addresses;
34
35 public ArrayList getAddresses(){
36 return addresses;
37 }
38
39 /**
40 *
41 * @param newVal
42 */
43 public void setAddresses(ArrayList newVal){
44 addresses = newVal;
45 }
46
47 public String getEmail(){
48 return email;
49 }
50
51 /**
52 *
53 * @param newVal
54 */
55 public void setEmail(String newVal){
56 email = newVal;
57 }
58
59 public String getUrl(){
60 return url;
61 }
62
63 /**
64 *
65 * @param newVal
66 */
67 public void setUrl(String newVal){
68 url = newVal;
69 }
70
71 public String getPhone(){
72 return phone;
73 }
74
75 /**
76 *
77 * @param newVal
78 */
79 public void setPhone(String newVal){
80 phone = newVal;
81 }
82
83 public String getFax(){
84 return fax;
85 }
86
87 /**
88 *
89 * @param newVal
90 */
91 public void setFax(String newVal){
92 fax = newVal;
93 }
94
95 }