1
2
3
4
5
6
7
8
9 package org.openehealth.ipf.commons.xml.svrl;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlElement;
15 import javax.xml.bind.annotation.XmlRootElement;
16 import javax.xml.bind.annotation.XmlSchemaType;
17 import javax.xml.bind.annotation.XmlType;
18 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
19 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42 @XmlAccessorType(XmlAccessType.FIELD)
43 @XmlType(name = "", propOrder = {
44 "text"
45 })
46 @XmlRootElement(name = "diagnostic-reference")
47 public class DiagnosticReference {
48
49 @XmlElement(required = true)
50 protected String text;
51 @XmlAttribute(name = "diagnostic", required = true)
52 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
53 @XmlSchemaType(name = "NMTOKEN")
54 protected String diagnostic;
55
56
57
58
59
60
61
62
63
64 public String getText() {
65 return text;
66 }
67
68
69
70
71
72
73
74
75
76 public void setText(String value) {
77 this.text = value;
78 }
79
80
81
82
83
84
85
86
87
88 public String getDiagnostic() {
89 return diagnostic;
90 }
91
92
93
94
95
96
97
98
99
100 public void setDiagnostic(String value) {
101 this.diagnostic = value;
102 }
103
104 }