This project has retired. For details please refer to its Attic page.
Query xref

1   
2   package org.apache.chemistry.opencmis.commons.impl.jaxb;
3   
4   import java.math.BigInteger;
5   import java.util.HashMap;
6   import java.util.Map;
7   import javax.xml.bind.JAXBElement;
8   import javax.xml.bind.annotation.XmlAccessType;
9   import javax.xml.bind.annotation.XmlAccessorType;
10  import javax.xml.bind.annotation.XmlAnyAttribute;
11  import javax.xml.bind.annotation.XmlElement;
12  import javax.xml.bind.annotation.XmlElementRef;
13  import javax.xml.bind.annotation.XmlRootElement;
14  import javax.xml.bind.annotation.XmlType;
15  import javax.xml.namespace.QName;
16  
17  
18  /**
19   * <p>Java class for anonymous complex type.
20   * 
21   * <p>The following schema fragment specifies the expected content contained within this class.
22   * 
23   * <pre>
24   * &lt;complexType>
25   *   &lt;complexContent>
26   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
27   *       &lt;sequence>
28   *         &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
29   *         &lt;element name="statement" type="{http://www.w3.org/2001/XMLSchema}string"/>
30   *         &lt;element name="searchAllVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
31   *         &lt;element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
32   *         &lt;element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumIncludeRelationships" minOccurs="0"/>
33   *         &lt;element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
34   *         &lt;element name="maxItems" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
35   *         &lt;element name="skipCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
36   *         &lt;element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
37   *       &lt;/sequence>
38   *       &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
39   *       &lt;anyAttribute processContents='lax' namespace='##other'/>
40   *     &lt;/restriction>
41   *   &lt;/complexContent>
42   * &lt;/complexType>
43   * </pre>
44   * 
45   * 
46   */
47  @XmlAccessorType(XmlAccessType.FIELD)
48  @XmlType(name = "", propOrder = {
49      "repositoryId",
50      "statement",
51      "searchAllVersions",
52      "includeAllowableActions",
53      "includeRelationships",
54      "renditionFilter",
55      "maxItems",
56      "skipCount",
57      "extension"
58  })
59  @XmlRootElement(name = "query")
60  public class Query {
61  
62      @XmlElement(required = true)
63      protected String repositoryId;
64      @XmlElement(required = true)
65      protected String statement;
66      @XmlElementRef(name = "searchAllVersions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
67      protected JAXBElement<Boolean> searchAllVersions;
68      @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
69      protected JAXBElement<Boolean> includeAllowableActions;
70      @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
71      protected JAXBElement<EnumIncludeRelationships> includeRelationships;
72      @XmlElementRef(name = "renditionFilter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
73      protected JAXBElement<String> renditionFilter;
74      @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
75      protected JAXBElement<BigInteger> maxItems;
76      @XmlElementRef(name = "skipCount", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
77      protected JAXBElement<BigInteger> skipCount;
78      @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
79      protected JAXBElement<CmisExtensionType> extension;
80      @XmlAnyAttribute
81      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
82  
83      /**
84       * Gets the value of the repositoryId property.
85       * 
86       * @return
87       *     possible object is
88       *     {@link String }
89       *     
90       */
91      public String getRepositoryId() {
92          return repositoryId;
93      }
94  
95      /**
96       * Sets the value of the repositoryId property.
97       * 
98       * @param value
99       *     allowed object is
100      *     {@link String }
101      *     
102      */
103     public void setRepositoryId(String value) {
104         this.repositoryId = value;
105     }
106 
107     /**
108      * Gets the value of the statement property.
109      * 
110      * @return
111      *     possible object is
112      *     {@link String }
113      *     
114      */
115     public String getStatement() {
116         return statement;
117     }
118 
119     /**
120      * Sets the value of the statement property.
121      * 
122      * @param value
123      *     allowed object is
124      *     {@link String }
125      *     
126      */
127     public void setStatement(String value) {
128         this.statement = value;
129     }
130 
131     /**
132      * Gets the value of the searchAllVersions property.
133      * 
134      * @return
135      *     possible object is
136      *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
137      *     
138      */
139     public JAXBElement<Boolean> getSearchAllVersions() {
140         return searchAllVersions;
141     }
142 
143     /**
144      * Sets the value of the searchAllVersions property.
145      * 
146      * @param value
147      *     allowed object is
148      *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
149      *     
150      */
151     public void setSearchAllVersions(JAXBElement<Boolean> value) {
152         this.searchAllVersions = ((JAXBElement<Boolean> ) value);
153     }
154 
155     /**
156      * Gets the value of the includeAllowableActions property.
157      * 
158      * @return
159      *     possible object is
160      *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
161      *     
162      */
163     public JAXBElement<Boolean> getIncludeAllowableActions() {
164         return includeAllowableActions;
165     }
166 
167     /**
168      * Sets the value of the includeAllowableActions property.
169      * 
170      * @param value
171      *     allowed object is
172      *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
173      *     
174      */
175     public void setIncludeAllowableActions(JAXBElement<Boolean> value) {
176         this.includeAllowableActions = ((JAXBElement<Boolean> ) value);
177     }
178 
179     /**
180      * Gets the value of the includeRelationships property.
181      * 
182      * @return
183      *     possible object is
184      *     {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}
185      *     
186      */
187     public JAXBElement<EnumIncludeRelationships> getIncludeRelationships() {
188         return includeRelationships;
189     }
190 
191     /**
192      * Sets the value of the includeRelationships property.
193      * 
194      * @param value
195      *     allowed object is
196      *     {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}
197      *     
198      */
199     public void setIncludeRelationships(JAXBElement<EnumIncludeRelationships> value) {
200         this.includeRelationships = ((JAXBElement<EnumIncludeRelationships> ) value);
201     }
202 
203     /**
204      * Gets the value of the renditionFilter property.
205      * 
206      * @return
207      *     possible object is
208      *     {@link JAXBElement }{@code <}{@link String }{@code >}
209      *     
210      */
211     public JAXBElement<String> getRenditionFilter() {
212         return renditionFilter;
213     }
214 
215     /**
216      * Sets the value of the renditionFilter property.
217      * 
218      * @param value
219      *     allowed object is
220      *     {@link JAXBElement }{@code <}{@link String }{@code >}
221      *     
222      */
223     public void setRenditionFilter(JAXBElement<String> value) {
224         this.renditionFilter = ((JAXBElement<String> ) value);
225     }
226 
227     /**
228      * Gets the value of the maxItems property.
229      * 
230      * @return
231      *     possible object is
232      *     {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
233      *     
234      */
235     public JAXBElement<BigInteger> getMaxItems() {
236         return maxItems;
237     }
238 
239     /**
240      * Sets the value of the maxItems property.
241      * 
242      * @param value
243      *     allowed object is
244      *     {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
245      *     
246      */
247     public void setMaxItems(JAXBElement<BigInteger> value) {
248         this.maxItems = ((JAXBElement<BigInteger> ) value);
249     }
250 
251     /**
252      * Gets the value of the skipCount property.
253      * 
254      * @return
255      *     possible object is
256      *     {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
257      *     
258      */
259     public JAXBElement<BigInteger> getSkipCount() {
260         return skipCount;
261     }
262 
263     /**
264      * Sets the value of the skipCount property.
265      * 
266      * @param value
267      *     allowed object is
268      *     {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
269      *     
270      */
271     public void setSkipCount(JAXBElement<BigInteger> value) {
272         this.skipCount = ((JAXBElement<BigInteger> ) value);
273     }
274 
275     /**
276      * Gets the value of the extension property.
277      * 
278      * @return
279      *     possible object is
280      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
281      *     
282      */
283     public JAXBElement<CmisExtensionType> getExtension() {
284         return extension;
285     }
286 
287     /**
288      * Sets the value of the extension property.
289      * 
290      * @param value
291      *     allowed object is
292      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
293      *     
294      */
295     public void setExtension(JAXBElement<CmisExtensionType> value) {
296         this.extension = ((JAXBElement<CmisExtensionType> ) value);
297     }
298 
299     /**
300      * Gets a map that contains attributes that aren't bound to any typed property on this class.
301      * 
302      * <p>
303      * the map is keyed by the name of the attribute and 
304      * the value is the string value of the attribute.
305      * 
306      * the map returned by this method is live, and you can add new attribute
307      * by updating the map directly. Because of this design, there's no setter.
308      * 
309      * 
310      * @return
311      *     always non-null
312      */
313     public Map<QName, String> getOtherAttributes() {
314         return otherAttributes;
315     }
316 
317 }