View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-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: 2012.07.09 at 11:50:13 AM PDT 
6   //
7   package org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30;
8   
9   import java.util.ArrayList;
10  import java.util.List;
11  import javax.xml.bind.annotation.*;
12  
13  /**
14   * <p>Java class for RetrieveImagingDocumentSetRequestType complex type.
15   *
16   * <p>The following schema fragment specifies the expected content contained within this class.
17   *
18   * <pre>
19   * &lt;complexType name="RetrieveImagingDocumentSetRequestType">
20   *   &lt;complexContent>
21   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22   *       &lt;sequence>
23   *         &lt;element name="StudyRequest" type="tns:StudyRequest" maxOccurs="unbounded"/>
24   *           &lt;complexType>
25   *             &lt;complexContent>
26   *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27   *                 &lt;sequence>
28   *                   &lt;element name="studyInstanceUID" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}LongName" minOccurs="0"/>
29   *                   &lt;element name="SeriesRequest type="tns:SeriesRequest" maxOccurs="unbounded"/>
30   *                     &lt;complexType>
31   *                       &lt;complexContent>
32   *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33   *                           &lt;sequence>
34   *                             &lt;element name="seriesInstanceUID" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}LongName" minOccurs="0"/>
35   *                             &lt;element name="DocumentRequest" type="tns:DocumentRequest" maxOccurs="unbounded"/>
36   *                               &lt;complexType>
37   *                                 &lt;complexContent>
38   *                                   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
39   *                                     &lt;sequence>
40   *                                       &lt;element name="HomeCommunityId" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}LongName" minOccurs="0"/>
41   *                                       &lt;element name="RepositoryUniqueId" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}LongName"/>
42   *                                       &lt;element name="DocumentUniqueId" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}LongName"/>
43   *                                     &lt;/sequence>
44   *                                   &lt;/restriction>
45   *                                 &lt;/complexContent>
46   *                               &lt;/complexType>
47   *                             &lt;/element>
48   *                           &lt;/sequence>
49   *                         &lt;/restriction>
50   *                       &lt;/complexContent>
51   *                     &lt;/complexType>
52   *                   &lt;/element>
53   *                 &lt;/sequence>
54   *               &lt;/restriction>
55   *             &lt;/complexContent>
56   *           &lt;/complexType>
57   *         &lt;/element>
58   *
59   *        &lt;xs:element name="TransferSyntaxUIDList">
60   *          &lt;xs:complexType>
61   *            &lt;xs:sequence>
62   *              &lt;xs:element name="TransferSyntaxUID" type="rim:LongName" maxOccurs="unbounded">
63   *                &lt;xs:annotation>
64   *                   &lt;xs:documentation>This is the list of DICOM transfer syntax UIDs to be used when requesting retrieval of DICOM images</xs:documentation>
65   *                &lt;/xs:annotation>
66   *              &lt;/xs:element>
67   *            &lt;/xs:sequence>
68   *          &lt;/xs:complexType>
69   *        &lt;/xs:element>
70   *
71   *       &lt;/sequence>
72   *     &lt;/restriction>
73   *   &lt;/complexContent>
74   * &lt;/complexType>
75   * </pre>
76   *
77   */
78  @XmlRootElement(name = "RetrieveImagingDocumentSetRequest")
79  @XmlAccessorType(XmlAccessType.FIELD)
80  @XmlType(name = "RetrieveImagingDocumentSetRequestType", propOrder = {
81      "studyRequest", "transferSyntaxUIDList"
82  })
83  public class RetrieveImagingDocumentSetRequestType {
84  
85      @XmlElement(name = "StudyRequest", required = true, namespace = "urn:ihe:rad:xdsi-b:2009")
86      protected List<StudyRequest> studyRequest;
87  
88      @XmlElement(name = "TransferSyntaxUIDList", required = true, namespace = "urn:ihe:rad:xdsi-b:2009")
89      protected TransferSyntaxUIDList transferSyntaxUIDList;
90  
91      /**
92       * Gets the value of the studyRequest property.
93       * 
94       * <p>
95       * This accessor method returns a reference to the live list,
96       * not a snapshot. Therefore any modification you make to the
97       * returned list will be present inside the JAXB object.
98       * This is why there is not a <CODE>set</CODE> method for the studyRequest property.
99       * 
100      * <p>
101      * For example, to add a new item, do as follows:
102      * <pre>
103      *    getStudyRequest().add(newItem);
104      * </pre>
105      * 
106      * 
107      * <p>
108      * Objects of the following type(s) are allowed in the list
109      * {@link StudyRequest }
110      * 
111      *
112      * @return the study request.
113      */
114     public List<RetrieveImagingDocumentSetRequestType.StudyRequest> getStudyRequest() {
115         if (studyRequest == null) {
116             studyRequest = new ArrayList<>();
117         }
118         return this.studyRequest;
119     }
120 
121     /**
122      * Gets the value of the transferSyntaxUIDList property.
123      *
124      * <p>
125      * This accessor method returns a reference to the live list,
126      * not a snapshot. Therefore any modification you make to the
127      * returned list will be present inside the JAXB object.
128      * This is why there is not a <CODE>set</CODE> method for the studyRequest property.
129      *
130      * <p>
131      * For example, to add a new item, do as follows:
132      * <pre>
133      *    getTransferSyntaxUIDList().add(newItem);
134      * </pre>
135      *
136      *
137      * <p>
138      * Objects of the following type(s) are allowed in the list
139      * {@link TransferSyntaxUIDList }
140      *
141      *
142      * @return the value of the transferSyntaxUIDList property.
143      */
144     public RetrieveImagingDocumentSetRequestType.TransferSyntaxUIDList getTransferSyntaxUIDList() {
145         if (transferSyntaxUIDList == null) {
146             transferSyntaxUIDList = new TransferSyntaxUIDList();
147         }
148         return this.transferSyntaxUIDList;
149     }
150 
151     /**
152      * <p>The following schema fragment specifies the expected content contained within this class.
153      *
154      * <pre>
155      * &lt;complexType>
156      *   &lt;complexContent>
157      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
158      *       &lt;sequence>
159      *         &lt;element name="studyInstanceUID" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}LongName" minOccurs="0"/>
160      *         &lt;element name="StudyRequest" type="tns:StudyRequest" maxOccurs="unbounded"/>
161      *       &lt;/sequence>
162      *     &lt;/restriction>
163      *   &lt;/complexContent>
164      * &lt;/complexType>
165      * </pre>
166      *
167      */
168     @XmlAccessorType(XmlAccessType.FIELD)
169     @XmlType(name = "", propOrder = {"studyInstanceUID", "seriesRequest"})
170     public static class StudyRequest {
171 
172         @XmlAttribute(name = "studyInstanceUID", required = true)
173         protected String studyInstanceUID;
174 
175         @XmlElement(name = "SeriesRequest", required = true, namespace = "urn:ihe:rad:xdsi-b:2009")
176         protected List<SeriesRequest> seriesRequest;
177 
178         /**
179          * Gets the value of the studyInstanceUID property.
180          *
181          * @return studyInstanceUID     {@link String }
182          *
183          */
184         public String getStudyInstanceUID() {
185             return studyInstanceUID;
186         }
187 
188         /**
189          * @param studyInstanceUID
190          *          the unique ID of the Study instance.
191          */
192         public void setStudyInstanceUID(String studyInstanceUID) {
193             this.studyInstanceUID = studyInstanceUID;
194         }
195 
196         /**
197          * Gets the value of the seriesRequest property.
198          *
199          * <p>
200          * This accessor method returns a reference to the live list,
201          * not a snapshot. Therefore any modification you make to the
202          * returned list will be present inside the JAXB object.
203          * This is why there is not a <CODE>set</CODE> method for the seriesRequest property.
204          * <p>
205          * For example, to add a new item, do as follows:
206          * <pre>
207          *    getSeriesRequests().add(newItem);
208          * </pre>
209          * <p>
210          * Objects of the following type(s) are allowed in the list {@link SeriesRequest }
211          *
212          */
213         public List<SeriesRequest> getSeriesRequest() {
214             if (seriesRequest == null) {
215                 seriesRequest = new ArrayList<>();
216             }
217             return this.seriesRequest;
218         }
219 
220     }
221 
222     /**
223      * <p>The following schema fragment specifies the expected content contained within this class.
224      *
225      * <pre>
226      * &lt;xs:element name="TransferSyntaxUIDList">
227      *   &lt;xs:complexType>
228      *     &lt;xs:sequence>
229      *       &lt;xs:element name="TransferSyntaxUID" type="rim:LongName" maxOccurs="unbounded">
230      *         &lt;xs:annotation>
231      *           &lt;xs:documentation>This is the list of DICOM transfer syntax UIDs to be used when requesting retrieval of DICOM images</xs:documentation>
232      *         &lt;/xs:annotation>
233      *       &lt;/xs:element>
234      *     &lt;/xs:sequence>
235      *   &lt;/xs:complexType>
236      * &lt;/xs:element>
237      * </pre>
238      *
239      */
240     @XmlAccessorType(XmlAccessType.FIELD)
241     @XmlType(name = "", propOrder = {"transferSyntaxUID"})
242     public static class TransferSyntaxUIDList {
243 
244         @XmlElement(name = "TransferSyntaxUID", required = true, namespace="urn:ihe:rad:xdsi-b:2009")
245         protected List<String> transferSyntaxUID;
246 
247         /**
248          * Gets the value of the seriesRequest property.
249          *
250          * <p>
251          * This accessor method returns a reference to the live list,
252          * not a snapshot. Therefore any modification you make to the
253          * returned list will be present inside the JAXB object.
254          * This is why there is not a <CODE>set</CODE> method for the seriesRequest property.
255          * <p>
256          * For example, to add a new item, do as follows:
257          * <pre>
258          *    getTransferSyntaxUID().add(newItem);
259          * </pre>
260          * <p>
261          * Objects of the following type(s) are allowed in the list {@link TransferSyntaxUIDList }
262          *
263          */
264         public List<String> getTransferSyntaxUID() {
265             if (transferSyntaxUID == null) {
266                 transferSyntaxUID = new ArrayList<>();
267             }
268             return this.transferSyntaxUID;
269         }
270 
271     }
272 
273     /**
274      * <p>The following schema fragment specifies the expected content contained within this class.
275      *
276      * <pre>
277      * &lt;complexType>
278      *   &lt;complexContent>
279      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
280      *       &lt;sequence>
281      *         &lt;element name="seriesInstanceUID" type="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}LongName" minOccurs="0"/>
282      *         &lt;element name="SeriesRequest" type="tns:SeriesRequest" maxOccurs="unbounded"/>
283      *       &lt;/sequence>
284      *     &lt;/restriction>
285      *   &lt;/complexContent>
286      * &lt;/complexType>
287      * </pre>
288      *
289      */
290     @XmlAccessorType(XmlAccessType.FIELD)
291     @XmlType(name = "", propOrder = {"seriesInstanceUID", "documentRequest"})
292     public static class SeriesRequest {
293 
294         @XmlAttribute(name = "seriesInstanceUID", required = true)
295         protected String seriesInstanceUID;
296 
297         @XmlElement(name = "DocumentRequest", required = true)
298         private List<RetrieveDocumentSetRequestType.DocumentRequest> documentRequest;
299 
300         /**
301          * Gets the value of the seriesInstanceUID property.
302          *
303          * @return seriesInstanceUID      {@link String }
304          *
305          */
306         public String getSeriesInstanceUID() {
307             return seriesInstanceUID;
308         }
309 
310         /**
311          * @param seriesInstanceUID
312          *          the unique ID of the series instance.
313          */
314         public void setSeriesInstanceUID(String seriesInstanceUID) {
315             this.seriesInstanceUID = seriesInstanceUID;
316         }
317 
318         /**
319          * Gets the value of the documentRequest property.
320          *
321          * <p>
322          * This accessor method returns a reference to the live list,
323          * not a snapshot. Therefore any modification you make to the
324          * returned list will be present inside the JAXB object.
325          * This is why there is not a <CODE>set</CODE> method for the documentRequest property.
326          *
327          * <p>
328          * For example, to add a new item, do as follows:
329          * <pre>
330          *    getDocumentRequest().add(newItem);
331          * </pre>
332          *
333          *
334          * <p>
335          * Objects of the following type(s) are allowed in the list
336          * {@link RetrieveDocumentSetRequestType.DocumentRequest }
337          *
338          *
339          * @return the document request.
340          */
341         public List<RetrieveDocumentSetRequestType.DocumentRequest> getDocumentRequests() {
342             if (documentRequest == null) {
343                 documentRequest = new ArrayList<>();
344             }
345             return documentRequest;
346         }
347     }
348 
349 }