View Javadoc
1   
2   package org.openehealth.ipf.commons.ihe.hpd.stub.chpidd;
3   
4   import javax.xml.bind.annotation.*;
5   import javax.xml.datatype.XMLGregorianCalendar;
6   import org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.AuthRequest;
7   
8   
9   /**
10   * <p>Java class for DownloadRequest complex type.
11   * 
12   * <p>The following schema fragment specifies the expected content contained within this class.
13   * 
14   * <pre>
15   * &lt;complexType name="DownloadRequest"&gt;
16   *   &lt;complexContent&gt;
17   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
18   *       &lt;sequence&gt;
19   *         &lt;element name="authRequest" type="{urn:oasis:names:tc:DSML:2:0:core}AuthRequest" minOccurs="0"/&gt;
20   *       &lt;/sequence&gt;
21   *       &lt;attribute name="requestID" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
22   *       &lt;attribute name="fromDate" use="required"&gt;
23   *         &lt;simpleType&gt;
24   *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}dateTime"&gt;
25   *           &lt;/restriction&gt;
26   *         &lt;/simpleType&gt;
27   *       &lt;/attribute&gt;
28   *       &lt;attribute name="toDate"&gt;
29   *         &lt;simpleType&gt;
30   *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}dateTime"&gt;
31   *           &lt;/restriction&gt;
32   *         &lt;/simpleType&gt;
33   *       &lt;/attribute&gt;
34   *       &lt;attribute name="filterMyTransactions" default="true"&gt;
35   *         &lt;simpleType&gt;
36   *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}boolean"&gt;
37   *           &lt;/restriction&gt;
38   *         &lt;/simpleType&gt;
39   *       &lt;/attribute&gt;
40   *     &lt;/restriction&gt;
41   *   &lt;/complexContent&gt;
42   * &lt;/complexType&gt;
43   * </pre>
44   * 
45   * 
46   */
47  @XmlAccessorType(XmlAccessType.FIELD)
48  @XmlType(name = "DownloadRequest", propOrder = {
49      "authRequest"
50  })
51  @XmlRootElement(name = "downloadRequest")
52  public class DownloadRequest {
53  
54      protected AuthRequest authRequest;
55      @XmlAttribute(name = "requestID")
56      protected String requestID;
57      @XmlAttribute(name = "fromDate", required = true)
58      protected XMLGregorianCalendar fromDate;
59      @XmlAttribute(name = "toDate")
60      protected XMLGregorianCalendar toDate;
61      @XmlAttribute(name = "filterMyTransactions")
62      protected Boolean filterMyTransactions;
63  
64      /**
65       * Gets the value of the authRequest property.
66       * 
67       * @return
68       *     possible object is
69       *     {@link AuthRequest }
70       *     
71       */
72      public AuthRequest getAuthRequest() {
73          return authRequest;
74      }
75  
76      /**
77       * Sets the value of the authRequest property.
78       * 
79       * @param value
80       *     allowed object is
81       *     {@link AuthRequest }
82       *     
83       */
84      public void setAuthRequest(AuthRequest value) {
85          this.authRequest = value;
86      }
87  
88      /**
89       * Gets the value of the requestID property.
90       * 
91       * @return
92       *     possible object is
93       *     {@link String }
94       *     
95       */
96      public String getRequestID() {
97          return requestID;
98      }
99  
100     /**
101      * Sets the value of the requestID property.
102      * 
103      * @param value
104      *     allowed object is
105      *     {@link String }
106      *     
107      */
108     public void setRequestID(String value) {
109         this.requestID = value;
110     }
111 
112     /**
113      * Gets the value of the fromDate property.
114      * 
115      * @return
116      *     possible object is
117      *     {@link XMLGregorianCalendar }
118      *     
119      */
120     public XMLGregorianCalendar getFromDate() {
121         return fromDate;
122     }
123 
124     /**
125      * Sets the value of the fromDate property.
126      * 
127      * @param value
128      *     allowed object is
129      *     {@link XMLGregorianCalendar }
130      *     
131      */
132     public void setFromDate(XMLGregorianCalendar value) {
133         this.fromDate = value;
134     }
135 
136     /**
137      * Gets the value of the toDate property.
138      * 
139      * @return
140      *     possible object is
141      *     {@link XMLGregorianCalendar }
142      *     
143      */
144     public XMLGregorianCalendar getToDate() {
145         return toDate;
146     }
147 
148     /**
149      * Sets the value of the toDate property.
150      * 
151      * @param value
152      *     allowed object is
153      *     {@link XMLGregorianCalendar }
154      *     
155      */
156     public void setToDate(XMLGregorianCalendar value) {
157         this.toDate = value;
158     }
159 
160     /**
161      * Gets the value of the filterMyTransactions property.
162      * 
163      * @return
164      *     possible object is
165      *     {@link Boolean }
166      *     
167      */
168     public boolean isFilterMyTransactions() {
169         if (filterMyTransactions == null) {
170             return true;
171         } else {
172             return filterMyTransactions;
173         }
174     }
175 
176     /**
177      * Sets the value of the filterMyTransactions property.
178      * 
179      * @param value
180      *     allowed object is
181      *     {@link Boolean }
182      *     
183      */
184     public void setFilterMyTransactions(Boolean value) {
185         this.filterMyTransactions = value;
186     }
187 
188 }