View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2015.05.01 at 10:44:03 PM CEST 
6   //
7   
8   
9   package org.openehealth.ipf.commons.xml.svrl;
10  
11  import java.util.ArrayList;
12  import java.util.List;
13  import javax.xml.bind.annotation.XmlAccessType;
14  import javax.xml.bind.annotation.XmlAccessorType;
15  import javax.xml.bind.annotation.XmlAttribute;
16  import javax.xml.bind.annotation.XmlElement;
17  import javax.xml.bind.annotation.XmlID;
18  import javax.xml.bind.annotation.XmlRootElement;
19  import javax.xml.bind.annotation.XmlSchemaType;
20  import javax.xml.bind.annotation.XmlType;
21  import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
22  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
23  
24  
25  /**
26   * <p>Java class for anonymous complex type.
27   * 
28   * <p>The following schema fragment specifies the expected content contained within this class.
29   * 
30   * <pre>
31   * &lt;complexType>
32   *   &lt;complexContent>
33   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
34   *       &lt;sequence>
35   *         &lt;element ref="{http://purl.oclc.org/dsdl/svrl}diagnostic-reference" maxOccurs="unbounded" minOccurs="0"/>
36   *         &lt;element ref="{http://purl.oclc.org/dsdl/svrl}text"/>
37   *       &lt;/sequence>
38   *       &lt;attGroup ref="{http://purl.oclc.org/dsdl/svrl}attlist.assert-and-report"/>
39   *     &lt;/restriction>
40   *   &lt;/complexContent>
41   * &lt;/complexType>
42   * </pre>
43   * 
44   * 
45   */
46  @XmlAccessorType(XmlAccessType.FIELD)
47  @XmlType(name = "", propOrder = {
48      "diagnosticReference",
49      "text"
50  })
51  @XmlRootElement(name = "successful-report")
52  public class SuccessfulReport {
53  
54      @XmlElement(name = "diagnostic-reference")
55      protected List<DiagnosticReference> diagnosticReference;
56      @XmlElement(required = true)
57      protected String text;
58      @XmlAttribute(name = "id")
59      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
60      @XmlID
61      @XmlSchemaType(name = "ID")
62      protected String id;
63      @XmlAttribute(name = "location", required = true)
64      @XmlSchemaType(name = "anySimpleType")
65      protected String location;
66      @XmlAttribute(name = "test", required = true)
67      @XmlSchemaType(name = "anySimpleType")
68      protected String test;
69      @XmlAttribute(name = "role")
70      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
71      @XmlSchemaType(name = "NMTOKEN")
72      protected String role;
73      @XmlAttribute(name = "flag")
74      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
75      @XmlSchemaType(name = "NMTOKEN")
76      protected String flag;
77  
78      /**
79       * Gets the value of the diagnosticReference property.
80       * 
81       * <p>
82       * This accessor method returns a reference to the live list,
83       * not a snapshot. Therefore any modification you make to the
84       * returned list will be present inside the JAXB object.
85       * This is why there is not a <CODE>set</CODE> method for the diagnosticReference property.
86       * 
87       * <p>
88       * For example, to add a new item, do as follows:
89       * <pre>
90       *    getDiagnosticReference().add(newItem);
91       * </pre>
92       * 
93       * 
94       * <p>
95       * Objects of the following type(s) are allowed in the list
96       * {@link DiagnosticReference }
97       * 
98       * 
99       */
100     public List<DiagnosticReference> getDiagnosticReference() {
101         if (diagnosticReference == null) {
102             diagnosticReference = new ArrayList<>();
103         }
104         return this.diagnosticReference;
105     }
106 
107     /**
108      * Gets the value of the text property.
109      * 
110      * @return
111      *     possible object is
112      *     {@link String }
113      *     
114      */
115     public String getText() {
116         return text;
117     }
118 
119     /**
120      * Sets the value of the text property.
121      * 
122      * @param value
123      *     allowed object is
124      *     {@link String }
125      *     
126      */
127     public void setText(String value) {
128         this.text = value;
129     }
130 
131     /**
132      * Gets the value of the id property.
133      * 
134      * @return
135      *     possible object is
136      *     {@link String }
137      *     
138      */
139     public String getId() {
140         return id;
141     }
142 
143     /**
144      * Sets the value of the id property.
145      * 
146      * @param value
147      *     allowed object is
148      *     {@link String }
149      *     
150      */
151     public void setId(String value) {
152         this.id = value;
153     }
154 
155     /**
156      * Gets the value of the location property.
157      * 
158      * @return
159      *     possible object is
160      *     {@link String }
161      *     
162      */
163     public String getLocation() {
164         return location;
165     }
166 
167     /**
168      * Sets the value of the location property.
169      * 
170      * @param value
171      *     allowed object is
172      *     {@link String }
173      *     
174      */
175     public void setLocation(String value) {
176         this.location = value;
177     }
178 
179     /**
180      * Gets the value of the test property.
181      * 
182      * @return
183      *     possible object is
184      *     {@link String }
185      *     
186      */
187     public String getTest() {
188         return test;
189     }
190 
191     /**
192      * Sets the value of the test property.
193      * 
194      * @param value
195      *     allowed object is
196      *     {@link String }
197      *     
198      */
199     public void setTest(String value) {
200         this.test = value;
201     }
202 
203     /**
204      * Gets the value of the role property.
205      * 
206      * @return
207      *     possible object is
208      *     {@link String }
209      *     
210      */
211     public String getRole() {
212         return role;
213     }
214 
215     /**
216      * Sets the value of the role property.
217      * 
218      * @param value
219      *     allowed object is
220      *     {@link String }
221      *     
222      */
223     public void setRole(String value) {
224         this.role = value;
225     }
226 
227     /**
228      * Gets the value of the flag property.
229      * 
230      * @return
231      *     possible object is
232      *     {@link String }
233      *     
234      */
235     public String getFlag() {
236         return flag;
237     }
238 
239     /**
240      * Sets the value of the flag property.
241      * 
242      * @param value
243      *     allowed object is
244      *     {@link String }
245      *     
246      */
247     public void setFlag(String value) {
248         this.flag = value;
249     }
250 
251 }