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

1   
2   package org.apache.chemistry.opencmis.commons.impl.jaxb;
3   
4   import java.math.BigInteger;
5   import java.util.ArrayList;
6   import java.util.HashMap;
7   import java.util.List;
8   import java.util.Map;
9   import javax.xml.bind.annotation.XmlAccessType;
10  import javax.xml.bind.annotation.XmlAccessorType;
11  import javax.xml.bind.annotation.XmlAnyAttribute;
12  import javax.xml.bind.annotation.XmlAnyElement;
13  import javax.xml.bind.annotation.XmlElement;
14  import javax.xml.bind.annotation.XmlType;
15  import javax.xml.namespace.QName;
16  import org.w3c.dom.Element;
17  
18  
19  /**
20   * <p>Java class for cmisQueryType complex type.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;complexType name="cmisQueryType">
26   *   &lt;complexContent>
27   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28   *       &lt;sequence>
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;any processContents='lax' namespace='##other' maxOccurs="unbounded" 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 = "cmisQueryType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
49      "statement",
50      "searchAllVersions",
51      "includeAllowableActions",
52      "includeRelationships",
53      "renditionFilter",
54      "maxItems",
55      "skipCount",
56      "any"
57  })
58  public class CmisQueryType {
59  
60      @XmlElement(required = true)
61      protected String statement;
62      protected Boolean searchAllVersions;
63      protected Boolean includeAllowableActions;
64      protected EnumIncludeRelationships includeRelationships;
65      protected String renditionFilter;
66      protected BigInteger maxItems;
67      protected BigInteger skipCount;
68      @XmlAnyElement(lax = true)
69      protected List<Object> any;
70      @XmlAnyAttribute
71      private Map<QName, String> otherAttributes = new HashMap<QName, String>();
72  
73      /**
74       * Gets the value of the statement property.
75       * 
76       * @return
77       *     possible object is
78       *     {@link String }
79       *     
80       */
81      public String getStatement() {
82          return statement;
83      }
84  
85      /**
86       * Sets the value of the statement property.
87       * 
88       * @param value
89       *     allowed object is
90       *     {@link String }
91       *     
92       */
93      public void setStatement(String value) {
94          this.statement = value;
95      }
96  
97      /**
98       * Gets the value of the searchAllVersions property.
99       * 
100      * @return
101      *     possible object is
102      *     {@link Boolean }
103      *     
104      */
105     public Boolean isSearchAllVersions() {
106         return searchAllVersions;
107     }
108 
109     /**
110      * Sets the value of the searchAllVersions property.
111      * 
112      * @param value
113      *     allowed object is
114      *     {@link Boolean }
115      *     
116      */
117     public void setSearchAllVersions(Boolean value) {
118         this.searchAllVersions = value;
119     }
120 
121     /**
122      * Gets the value of the includeAllowableActions property.
123      * 
124      * @return
125      *     possible object is
126      *     {@link Boolean }
127      *     
128      */
129     public Boolean isIncludeAllowableActions() {
130         return includeAllowableActions;
131     }
132 
133     /**
134      * Sets the value of the includeAllowableActions property.
135      * 
136      * @param value
137      *     allowed object is
138      *     {@link Boolean }
139      *     
140      */
141     public void setIncludeAllowableActions(Boolean value) {
142         this.includeAllowableActions = value;
143     }
144 
145     /**
146      * Gets the value of the includeRelationships property.
147      * 
148      * @return
149      *     possible object is
150      *     {@link EnumIncludeRelationships }
151      *     
152      */
153     public EnumIncludeRelationships getIncludeRelationships() {
154         return includeRelationships;
155     }
156 
157     /**
158      * Sets the value of the includeRelationships property.
159      * 
160      * @param value
161      *     allowed object is
162      *     {@link EnumIncludeRelationships }
163      *     
164      */
165     public void setIncludeRelationships(EnumIncludeRelationships value) {
166         this.includeRelationships = value;
167     }
168 
169     /**
170      * Gets the value of the renditionFilter property.
171      * 
172      * @return
173      *     possible object is
174      *     {@link String }
175      *     
176      */
177     public String getRenditionFilter() {
178         return renditionFilter;
179     }
180 
181     /**
182      * Sets the value of the renditionFilter property.
183      * 
184      * @param value
185      *     allowed object is
186      *     {@link String }
187      *     
188      */
189     public void setRenditionFilter(String value) {
190         this.renditionFilter = value;
191     }
192 
193     /**
194      * Gets the value of the maxItems property.
195      * 
196      * @return
197      *     possible object is
198      *     {@link BigInteger }
199      *     
200      */
201     public BigInteger getMaxItems() {
202         return maxItems;
203     }
204 
205     /**
206      * Sets the value of the maxItems property.
207      * 
208      * @param value
209      *     allowed object is
210      *     {@link BigInteger }
211      *     
212      */
213     public void setMaxItems(BigInteger value) {
214         this.maxItems = value;
215     }
216 
217     /**
218      * Gets the value of the skipCount property.
219      * 
220      * @return
221      *     possible object is
222      *     {@link BigInteger }
223      *     
224      */
225     public BigInteger getSkipCount() {
226         return skipCount;
227     }
228 
229     /**
230      * Sets the value of the skipCount property.
231      * 
232      * @param value
233      *     allowed object is
234      *     {@link BigInteger }
235      *     
236      */
237     public void setSkipCount(BigInteger value) {
238         this.skipCount = value;
239     }
240 
241     /**
242      * Gets the value of the any property.
243      * 
244      * <p>
245      * This accessor method returns a reference to the live list,
246      * not a snapshot. Therefore any modification you make to the
247      * returned list will be present inside the JAXB object.
248      * This is why there is not a <CODE>set</CODE> method for the any property.
249      * 
250      * <p>
251      * For example, to add a new item, do as follows:
252      * <pre>
253      *    getAny().add(newItem);
254      * </pre>
255      * 
256      * 
257      * <p>
258      * Objects of the following type(s) are allowed in the list
259      * {@link Element }
260      * {@link Object }
261      * 
262      * 
263      */
264     public List<Object> getAny() {
265         if (any == null) {
266             any = new ArrayList<Object>();
267         }
268         return this.any;
269     }
270 
271     /**
272      * Gets a map that contains attributes that aren't bound to any typed property on this class.
273      * 
274      * <p>
275      * the map is keyed by the name of the attribute and 
276      * the value is the string value of the attribute.
277      * 
278      * the map returned by this method is live, and you can add new attribute
279      * by updating the map directly. Because of this design, there's no setter.
280      * 
281      * 
282      * @return
283      *     always non-null
284      */
285     public Map<QName, String> getOtherAttributes() {
286         return otherAttributes;
287     }
288 
289 }