mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
123 lines
3.1 KiB
Java
123 lines
3.1 KiB
Java
|
|
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;
|
|
|
|
|
|
/**
|
|
* <p>Java class for setContentStream element declaration.
|
|
*
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
*
|
|
* <pre>
|
|
* <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>
|
|
* </pre>
|
|
*
|
|
*
|
|
*/
|
|
@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;
|
|
}
|
|
|
|
}
|