This project has retired. For details please refer to its Attic page.
CmisRenditionType 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.List;
7   import javax.xml.bind.annotation.XmlAccessType;
8   import javax.xml.bind.annotation.XmlAccessorType;
9   import javax.xml.bind.annotation.XmlAnyElement;
10  import javax.xml.bind.annotation.XmlElement;
11  import javax.xml.bind.annotation.XmlType;
12  import org.w3c.dom.Element;
13  
14  
15  /**
16   * <p>Java class for cmisRenditionType complex type.
17   * 
18   * <p>The following schema fragment specifies the expected content contained within this class.
19   * 
20   * <pre>
21   * &lt;complexType name="cmisRenditionType">
22   *   &lt;complexContent>
23   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
24   *       &lt;sequence>
25   *         &lt;element name="streamId" type="{http://www.w3.org/2001/XMLSchema}string"/>
26   *         &lt;element name="mimetype" type="{http://www.w3.org/2001/XMLSchema}string"/>
27   *         &lt;element name="length" type="{http://www.w3.org/2001/XMLSchema}integer"/>
28   *         &lt;element name="kind" type="{http://www.w3.org/2001/XMLSchema}string"/>
29   *         &lt;element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
30   *         &lt;element name="height" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
31   *         &lt;element name="width" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
32   *         &lt;element name="renditionDocumentId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
33   *         &lt;any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
34   *       &lt;/sequence>
35   *     &lt;/restriction>
36   *   &lt;/complexContent>
37   * &lt;/complexType>
38   * </pre>
39   * 
40   * 
41   */
42  @XmlAccessorType(XmlAccessType.FIELD)
43  @XmlType(name = "cmisRenditionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
44      "streamId",
45      "mimetype",
46      "length",
47      "kind",
48      "title",
49      "height",
50      "width",
51      "renditionDocumentId",
52      "any"
53  })
54  public class CmisRenditionType {
55  
56      @XmlElement(required = true)
57      protected String streamId;
58      @XmlElement(required = true)
59      protected String mimetype;
60      @XmlElement(required = true)
61      protected BigInteger length;
62      @XmlElement(required = true)
63      protected String kind;
64      protected String title;
65      protected BigInteger height;
66      protected BigInteger width;
67      protected String renditionDocumentId;
68      @XmlAnyElement(lax = true)
69      protected List<Object> any;
70  
71      /**
72       * Gets the value of the streamId property.
73       * 
74       * @return
75       *     possible object is
76       *     {@link String }
77       *     
78       */
79      public String getStreamId() {
80          return streamId;
81      }
82  
83      /**
84       * Sets the value of the streamId property.
85       * 
86       * @param value
87       *     allowed object is
88       *     {@link String }
89       *     
90       */
91      public void setStreamId(String value) {
92          this.streamId = value;
93      }
94  
95      /**
96       * Gets the value of the mimetype property.
97       * 
98       * @return
99       *     possible object is
100      *     {@link String }
101      *     
102      */
103     public String getMimetype() {
104         return mimetype;
105     }
106 
107     /**
108      * Sets the value of the mimetype property.
109      * 
110      * @param value
111      *     allowed object is
112      *     {@link String }
113      *     
114      */
115     public void setMimetype(String value) {
116         this.mimetype = value;
117     }
118 
119     /**
120      * Gets the value of the length property.
121      * 
122      * @return
123      *     possible object is
124      *     {@link BigInteger }
125      *     
126      */
127     public BigInteger getLength() {
128         return length;
129     }
130 
131     /**
132      * Sets the value of the length property.
133      * 
134      * @param value
135      *     allowed object is
136      *     {@link BigInteger }
137      *     
138      */
139     public void setLength(BigInteger value) {
140         this.length = value;
141     }
142 
143     /**
144      * Gets the value of the kind property.
145      * 
146      * @return
147      *     possible object is
148      *     {@link String }
149      *     
150      */
151     public String getKind() {
152         return kind;
153     }
154 
155     /**
156      * Sets the value of the kind property.
157      * 
158      * @param value
159      *     allowed object is
160      *     {@link String }
161      *     
162      */
163     public void setKind(String value) {
164         this.kind = value;
165     }
166 
167     /**
168      * Gets the value of the title property.
169      * 
170      * @return
171      *     possible object is
172      *     {@link String }
173      *     
174      */
175     public String getTitle() {
176         return title;
177     }
178 
179     /**
180      * Sets the value of the title property.
181      * 
182      * @param value
183      *     allowed object is
184      *     {@link String }
185      *     
186      */
187     public void setTitle(String value) {
188         this.title = value;
189     }
190 
191     /**
192      * Gets the value of the height property.
193      * 
194      * @return
195      *     possible object is
196      *     {@link BigInteger }
197      *     
198      */
199     public BigInteger getHeight() {
200         return height;
201     }
202 
203     /**
204      * Sets the value of the height property.
205      * 
206      * @param value
207      *     allowed object is
208      *     {@link BigInteger }
209      *     
210      */
211     public void setHeight(BigInteger value) {
212         this.height = value;
213     }
214 
215     /**
216      * Gets the value of the width property.
217      * 
218      * @return
219      *     possible object is
220      *     {@link BigInteger }
221      *     
222      */
223     public BigInteger getWidth() {
224         return width;
225     }
226 
227     /**
228      * Sets the value of the width property.
229      * 
230      * @param value
231      *     allowed object is
232      *     {@link BigInteger }
233      *     
234      */
235     public void setWidth(BigInteger value) {
236         this.width = value;
237     }
238 
239     /**
240      * Gets the value of the renditionDocumentId property.
241      * 
242      * @return
243      *     possible object is
244      *     {@link String }
245      *     
246      */
247     public String getRenditionDocumentId() {
248         return renditionDocumentId;
249     }
250 
251     /**
252      * Sets the value of the renditionDocumentId property.
253      * 
254      * @param value
255      *     allowed object is
256      *     {@link String }
257      *     
258      */
259     public void setRenditionDocumentId(String value) {
260         this.renditionDocumentId = value;
261     }
262 
263     /**
264      * Gets the value of the any property.
265      * 
266      * <p>
267      * This accessor method returns a reference to the live list,
268      * not a snapshot. Therefore any modification you make to the
269      * returned list will be present inside the JAXB object.
270      * This is why there is not a <CODE>set</CODE> method for the any property.
271      * 
272      * <p>
273      * For example, to add a new item, do as follows:
274      * <pre>
275      *    getAny().add(newItem);
276      * </pre>
277      * 
278      * 
279      * <p>
280      * Objects of the following type(s) are allowed in the list
281      * {@link Element }
282      * {@link Object }
283      * 
284      * 
285      */
286     public List<Object> getAny() {
287         if (any == null) {
288             any = new ArrayList<Object>();
289         }
290         return this.any;
291     }
292 
293 }