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

1   
2   package org.apache.chemistry.opencmis.commons.impl.jaxb;
3   
4   import javax.xml.bind.JAXBElement;
5   import javax.xml.bind.annotation.XmlAccessType;
6   import javax.xml.bind.annotation.XmlAccessorType;
7   import javax.xml.bind.annotation.XmlElement;
8   import javax.xml.bind.annotation.XmlElementRef;
9   import javax.xml.bind.annotation.XmlRootElement;
10  import javax.xml.bind.annotation.XmlType;
11  
12  
13  /**
14   * <p>Java class for anonymous complex type.
15   * 
16   * <p>The following schema fragment specifies the expected content contained within this class.
17   * 
18   * <pre>
19   * &lt;complexType>
20   *   &lt;complexContent>
21   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
22   *       &lt;sequence>
23   *         &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
24   *         &lt;element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
25   *         &lt;element name="overwriteFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
26   *         &lt;element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
27   *         &lt;element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisContentStreamType"/>
28   *         &lt;element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
29   *       &lt;/sequence>
30   *     &lt;/restriction>
31   *   &lt;/complexContent>
32   * &lt;/complexType>
33   * </pre>
34   * 
35   * 
36   */
37  @XmlAccessorType(XmlAccessType.FIELD)
38  @XmlType(name = "", propOrder = {
39      "repositoryId",
40      "objectId",
41      "overwriteFlag",
42      "changeToken",
43      "contentStream",
44      "extension"
45  })
46  @XmlRootElement(name = "setContentStream")
47  public class SetContentStream {
48  
49      @XmlElement(required = true)
50      protected String repositoryId;
51      @XmlElement(required = true)
52      protected String objectId;
53      @XmlElementRef(name = "overwriteFlag", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
54      protected JAXBElement<Boolean> overwriteFlag;
55      @XmlElementRef(name = "changeToken", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
56      protected JAXBElement<String> changeToken;
57      @XmlElement(required = true)
58      protected CmisContentStreamType contentStream;
59      @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
60      protected JAXBElement<CmisExtensionType> extension;
61  
62      /**
63       * Gets the value of the repositoryId property.
64       * 
65       * @return
66       *     possible object is
67       *     {@link String }
68       *     
69       */
70      public String getRepositoryId() {
71          return repositoryId;
72      }
73  
74      /**
75       * Sets the value of the repositoryId property.
76       * 
77       * @param value
78       *     allowed object is
79       *     {@link String }
80       *     
81       */
82      public void setRepositoryId(String value) {
83          this.repositoryId = value;
84      }
85  
86      /**
87       * Gets the value of the objectId property.
88       * 
89       * @return
90       *     possible object is
91       *     {@link String }
92       *     
93       */
94      public String getObjectId() {
95          return objectId;
96      }
97  
98      /**
99       * Sets the value of the objectId property.
100      * 
101      * @param value
102      *     allowed object is
103      *     {@link String }
104      *     
105      */
106     public void setObjectId(String value) {
107         this.objectId = value;
108     }
109 
110     /**
111      * Gets the value of the overwriteFlag property.
112      * 
113      * @return
114      *     possible object is
115      *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
116      *     
117      */
118     public JAXBElement<Boolean> getOverwriteFlag() {
119         return overwriteFlag;
120     }
121 
122     /**
123      * Sets the value of the overwriteFlag property.
124      * 
125      * @param value
126      *     allowed object is
127      *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
128      *     
129      */
130     public void setOverwriteFlag(JAXBElement<Boolean> value) {
131         this.overwriteFlag = ((JAXBElement<Boolean> ) value);
132     }
133 
134     /**
135      * Gets the value of the changeToken property.
136      * 
137      * @return
138      *     possible object is
139      *     {@link JAXBElement }{@code <}{@link String }{@code >}
140      *     
141      */
142     public JAXBElement<String> getChangeToken() {
143         return changeToken;
144     }
145 
146     /**
147      * Sets the value of the changeToken property.
148      * 
149      * @param value
150      *     allowed object is
151      *     {@link JAXBElement }{@code <}{@link String }{@code >}
152      *     
153      */
154     public void setChangeToken(JAXBElement<String> value) {
155         this.changeToken = ((JAXBElement<String> ) value);
156     }
157 
158     /**
159      * Gets the value of the contentStream property.
160      * 
161      * @return
162      *     possible object is
163      *     {@link CmisContentStreamType }
164      *     
165      */
166     public CmisContentStreamType getContentStream() {
167         return contentStream;
168     }
169 
170     /**
171      * Sets the value of the contentStream property.
172      * 
173      * @param value
174      *     allowed object is
175      *     {@link CmisContentStreamType }
176      *     
177      */
178     public void setContentStream(CmisContentStreamType value) {
179         this.contentStream = value;
180     }
181 
182     /**
183      * Gets the value of the extension property.
184      * 
185      * @return
186      *     possible object is
187      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
188      *     
189      */
190     public JAXBElement<CmisExtensionType> getExtension() {
191         return extension;
192     }
193 
194     /**
195      * Sets the value of the extension property.
196      * 
197      * @param value
198      *     allowed object is
199      *     {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
200      *     
201      */
202     public void setExtension(JAXBElement<CmisExtensionType> value) {
203         this.extension = ((JAXBElement<CmisExtensionType> ) value);
204     }
205 
206 }