1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.openehealth.ipf.commons.ihe.xds.core.metadata;
17
18 import lombok.EqualsAndHashCode;
19 import lombok.ToString;
20
21 import javax.xml.bind.annotation.XmlAccessType;
22 import javax.xml.bind.annotation.XmlAccessorType;
23 import javax.xml.bind.annotation.XmlType;
24 import java.io.Serializable;
25 import java.util.ArrayList;
26 import java.util.List;
27
28
29
30
31
32
33
34
35
36 @XmlAccessorType(XmlAccessType.FIELD)
37 @XmlType(name = "Author", propOrder = {"authorPerson", "authorInstitution",
38 "authorSpecialty", "authorRole", "authorTelecom"})
39 @EqualsAndHashCode(doNotUseGetters = true)
40 @ToString(doNotUseGetters = true)
41 public class Author implements Serializable {
42 private static final long serialVersionUID = 6731221295927724760L;
43
44 private Person authorPerson;
45 private final List<Organization> authorInstitution = new ArrayList<>();
46 private final List<Identifiable> authorRole = new ArrayList<>();
47 private final List<Identifiable> authorSpecialty = new ArrayList<>();
48 private final List<Telecom> authorTelecom = new ArrayList<>();
49
50
51
52
53 public Person getAuthorPerson() {
54 return authorPerson;
55 }
56
57
58
59
60
61 public void setAuthorPerson(Person authorPerson) {
62 this.authorPerson = authorPerson;
63 }
64
65
66
67
68
69 public List<Organization> getAuthorInstitution() {
70 return authorInstitution;
71 }
72
73
74
75
76
77 public List<Identifiable> getAuthorRole() {
78 return authorRole;
79 }
80
81
82
83
84
85 public List<Identifiable> getAuthorSpecialty() {
86 return authorSpecialty;
87 }
88
89
90
91
92
93 public List<Telecom> getAuthorTelecom() {
94 return authorTelecom;
95 }
96
97 }