package org.alfresco.repo.cmis.ws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** *

Java class for setContentStream element declaration. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <element name="setContentStream">
 *   <complexType>
 *     <complexContent>
 *       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *         <sequence>
 *           <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
 *           <element name="overwriteFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *           <element ref="{http://www.cmis.org/ns/1.0}contentStream" minOccurs="0"/>
 *         </sequence>
 *       </restriction>
 *     </complexContent>
 *   </complexType>
 * </element>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "documentId", "overwriteFlag", "contentStream" }) @XmlRootElement(name = "setContentStream") public class SetContentStream { @XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true) protected String documentId; @XmlElement(namespace = "http://www.cmis.org/ns/1.0") protected Boolean overwriteFlag; @XmlElement(namespace = "http://www.cmis.org/ns/1.0") protected ContentStream contentStream; /** * Gets the value of the documentId property. * * @return * possible object is * {@link String } * */ public String getDocumentId() { return documentId; } /** * Sets the value of the documentId property. * * @param value * allowed object is * {@link String } * */ public void setDocumentId(String value) { this.documentId = value; } /** * Gets the value of the overwriteFlag property. * * @return * possible object is * {@link Boolean } * */ public Boolean isOverwriteFlag() { return overwriteFlag; } /** * Sets the value of the overwriteFlag property. * * @param value * allowed object is * {@link Boolean } * */ public void setOverwriteFlag(Boolean value) { this.overwriteFlag = value; } /** * Gets the value of the contentStream property. * * @return * possible object is * {@link ContentStream } * */ public ContentStream getContentStream() { return contentStream; } /** * Sets the value of the contentStream property. * * @param value * allowed object is * {@link ContentStream } * */ public void setContentStream(ContentStream value) { this.contentStream = value; } }