1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.openehealth.ipf.commons.ihe.xds.core.requests;
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.XmlRootElement;
24 import javax.xml.bind.annotation.XmlType;
25 import java.io.Serializable;
26
27
28
29
30
31
32
33
34 @XmlAccessorType(XmlAccessType.FIELD)
35 @XmlType(name = "DocumentReference", propOrder = {"homeCommunityId", "repositoryUniqueId", "documentUniqueId" })
36 @XmlRootElement(name = "documentReference")
37 @EqualsAndHashCode(doNotUseGetters = true)
38 @ToString(doNotUseGetters = true)
39 public class DocumentReference implements Serializable {
40 private static final long serialVersionUID = 7147966094676034661L;
41
42 private String repositoryUniqueId;
43 private String documentUniqueId;
44 private String homeCommunityId;
45
46
47
48
49 public DocumentReference() {}
50
51
52
53
54
55
56
57
58
59
60 public DocumentReference(String repositoryUniqueId, String documentUniqueId, String homeCommunityId) {
61 this.repositoryUniqueId = repositoryUniqueId;
62 this.documentUniqueId = documentUniqueId;
63 this.homeCommunityId = homeCommunityId;
64 }
65
66
67
68
69 public String getRepositoryUniqueId() {
70 return repositoryUniqueId;
71 }
72
73
74
75
76
77 public void setRepositoryUniqueId(String repositoryUniqueId) {
78 this.repositoryUniqueId = repositoryUniqueId;
79 }
80
81
82
83
84 public String getDocumentUniqueId() {
85 return documentUniqueId;
86 }
87
88
89
90
91
92 public void setDocumentUniqueId(String documentUniqueId) {
93 this.documentUniqueId = documentUniqueId;
94 }
95
96
97
98
99 public String getHomeCommunityId() {
100 return homeCommunityId;
101 }
102
103
104
105
106
107 public void setHomeCommunityId(String homeCommunityId) {
108 this.homeCommunityId = homeCommunityId;
109 }
110
111 }