model cleaned so it compiles again
[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 eu.etaxonomy.cdm.model.agent;
11
12
13 import eu.etaxonomy.cdm.model.common.VersionableEntity;
14 import org.apache.log4j.Logger;
15 import eu.etaxonomy.cdm.model.Description;
16 import java.util.*;
17 import javax.persistence.*;
18
19 /**
20 * http://rs.tdwg.org/ontology/voc/ContactDetails#ContactDetails
21 * @author m.doering
22 * @version 1.0
23 * @created 02-Nov-2007 19:36:01
24 */
25 @Entity
26 public class Contact extends VersionableEntity {
27 static Logger logger = Logger.getLogger(Contact.class);
28
29 @Description("")
30 private String email;
31 @Description("")
32 private String url;
33 @Description("")
34 private String phone;
35 @Description("")
36 private String fax;
37 private ArrayList<Address> addresses;
38
39 public ArrayList<Address> getAddresses(){
40 return addresses;
41 }
42
43 /**
44 *
45 * @param addresses
46 */
47 public void setAddresses(ArrayList<Address> addresses){
48 ;
49 }
50
51 public String getEmail(){
52 return email;
53 }
54
55 /**
56 *
57 * @param email
58 */
59 public void setEmail(String email){
60 ;
61 }
62
63 public String getUrl(){
64 return url;
65 }
66
67 /**
68 *
69 * @param url
70 */
71 public void setUrl(String url){
72 ;
73 }
74
75 public String getPhone(){
76 return phone;
77 }
78
79 /**
80 *
81 * @param phone
82 */
83 public void setPhone(String phone){
84 ;
85 }
86
87 public String getFax(){
88 return fax;
89 }
90
91 /**
92 *
93 * @param fax
94 */
95 public void setFax(String fax){
96 ;
97 }
98
99 }