View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.9-03/31/2009 04:14 PM(snajper)-fcs 
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: 2009.04.30 at 06:20:20 PM CEST 
6   //
7   
8   
9   package org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.query;
10  
11  import java.math.BigInteger;
12  import javax.xml.bind.annotation.XmlAccessType;
13  import javax.xml.bind.annotation.XmlAccessorType;
14  import javax.xml.bind.annotation.XmlAttribute;
15  import javax.xml.bind.annotation.XmlElement;
16  import javax.xml.bind.annotation.XmlRootElement;
17  import javax.xml.bind.annotation.XmlSchemaType;
18  import javax.xml.bind.annotation.XmlType;
19  
20  import org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rim.AdhocQueryType;
21  import org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.rs.RegistryRequestType;
22       
23  
24  /**
25   * <p>Java class for anonymous complex type.
26   * 
27   * <p>The following schema fragment specifies the expected content contained within this class.
28   * 
29   * <pre>
30   * &lt;complexType>
31   *   &lt;complexContent>
32   *     &lt;extension base="{urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0}RegistryRequestType">
33   *       &lt;sequence>
34   *         &lt;element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0}ResponseOption"/>
35   *         &lt;element ref="{urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0}AdhocQuery"/>
36   *       &lt;/sequence>
37   *       &lt;attribute name="federated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
38   *       &lt;attribute name="federation" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
39   *       &lt;attribute name="startIndex" type="{http://www.w3.org/2001/XMLSchema}integer" default="0" />
40   *       &lt;attribute name="maxResults" type="{http://www.w3.org/2001/XMLSchema}integer" default="-1" />
41   *     &lt;/extension>
42   *   &lt;/complexContent>
43   * &lt;/complexType>
44   * </pre>
45   * 
46   * 
47   */
48  @XmlAccessorType(XmlAccessType.FIELD)
49  @XmlType(name = "", propOrder = {
50      "responseOption",
51      "adhocQuery"
52  })
53  @XmlRootElement(name = "AdhocQueryRequest")
54  public class AdhocQueryRequest
55      extends RegistryRequestType
56  {
57  
58      @XmlElement(name = "ResponseOption", required = true)
59      protected ResponseOptionType responseOption;
60      @XmlElement(name = "AdhocQuery", namespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0", required = true)
61      protected AdhocQueryType adhocQuery;
62      @XmlAttribute
63      protected Boolean federated;
64      @XmlAttribute
65      @XmlSchemaType(name = "anyURI")
66      protected String federation;
67      @XmlAttribute
68      protected BigInteger startIndex;
69      @XmlAttribute
70      protected BigInteger maxResults;
71  
72      /**
73       * Gets the value of the responseOption property.
74       * 
75       * @return
76       *     possible object is
77       *     {@link ResponseOptionType }
78       *     
79       */
80      public ResponseOptionType getResponseOption() {
81          return responseOption;
82      }
83  
84      /**
85       * Sets the value of the responseOption property.
86       * 
87       * @param value
88       *     allowed object is
89       *     {@link ResponseOptionType }
90       *     
91       */
92      public void setResponseOption(ResponseOptionType value) {
93          this.responseOption = value;
94      }
95  
96      /**
97       * Gets the value of the adhocQuery property.
98       * 
99       * @return
100      *     possible object is
101      *     {@link AdhocQueryType }
102      *     
103      */
104     public AdhocQueryType getAdhocQuery() {
105         return adhocQuery;
106     }
107 
108     /**
109      * Sets the value of the adhocQuery property.
110      * 
111      * @param value
112      *     allowed object is
113      *     {@link AdhocQueryType }
114      *     
115      */
116     public void setAdhocQuery(AdhocQueryType value) {
117         this.adhocQuery = value;
118     }
119 
120     /**
121      * Gets the value of the federated property.
122      * 
123      * @return
124      *     possible object is
125      *     {@link Boolean }
126      *     
127      */
128     public boolean isFederated() {
129         if (federated == null) {
130             return false;
131         } else {
132             return federated;
133         }
134     }
135 
136     /**
137      * Sets the value of the federated property.
138      * 
139      * @param value
140      *     allowed object is
141      *     {@link Boolean }
142      *     
143      */
144     public void setFederated(Boolean value) {
145         this.federated = value;
146     }
147 
148     /**
149      * Gets the value of the federation property.
150      * 
151      * @return
152      *     possible object is
153      *     {@link String }
154      *     
155      */
156     public String getFederation() {
157         return federation;
158     }
159 
160     /**
161      * Sets the value of the federation property.
162      * 
163      * @param value
164      *     allowed object is
165      *     {@link String }
166      *     
167      */
168     public void setFederation(String value) {
169         this.federation = value;
170     }
171 
172     /**
173      * Gets the value of the startIndex property.
174      * 
175      * @return
176      *     possible object is
177      *     {@link BigInteger }
178      *     
179      */
180     public BigInteger getStartIndex() {
181         if (startIndex == null) {
182             return new BigInteger("0");
183         } else {
184             return startIndex;
185         }
186     }
187 
188     /**
189      * Sets the value of the startIndex property.
190      * 
191      * @param value
192      *     allowed object is
193      *     {@link BigInteger }
194      *     
195      */
196     public void setStartIndex(BigInteger value) {
197         this.startIndex = value;
198     }
199 
200     /**
201      * Gets the value of the maxResults property.
202      * 
203      * @return
204      *     possible object is
205      *     {@link BigInteger }
206      *     
207      */
208     public BigInteger getMaxResults() {
209         if (maxResults == null) {
210             return new BigInteger("-1");
211         } else {
212             return maxResults;
213         }
214     }
215 
216     /**
217      * Sets the value of the maxResults property.
218      * 
219      * @param value
220      *     allowed object is
221      *     {@link BigInteger }
222      *     
223      */
224     public void setMaxResults(BigInteger value) {
225         this.maxResults = value;
226     }
227 
228 }