package org.alfresco.repo.cmis.ws;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="overwriteFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="contentStream" type="{http://www.cmis.org/2008/05}cmisContentStreamType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"repositoryId",
"documentId",
"overwriteFlag",
"contentStream"
})
@XmlRootElement(name = "setContentStream")
public class SetContentStream {
@XmlElement(required = true)
protected String repositoryId;
@XmlElement(required = true)
protected String documentId;
@XmlElementRef(name = "overwriteFlag", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
protected JAXBElement overwriteFlag;
@XmlElement(required = true)
protected CmisContentStreamType contentStream;
/**
* Gets the value of the repositoryId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRepositoryId() {
return repositoryId;
}
/**
* Sets the value of the repositoryId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRepositoryId(String value) {
this.repositoryId = value;
}
/**
* 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 JAXBElement }{@code <}{@link Boolean }{@code >}
*
*/
public JAXBElement getOverwriteFlag() {
return overwriteFlag;
}
/**
* Sets the value of the overwriteFlag property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link Boolean }{@code >}
*
*/
public void setOverwriteFlag(JAXBElement value) {
this.overwriteFlag = ((JAXBElement ) value);
}
/**
* Gets the value of the contentStream property.
*
* @return
* possible object is
* {@link CmisContentStreamType }
*
*/
public CmisContentStreamType getContentStream() {
return contentStream;
}
/**
* Sets the value of the contentStream property.
*
* @param value
* allowed object is
* {@link CmisContentStreamType }
*
*/
public void setContentStream(CmisContentStreamType value) {
this.contentStream = value;
}
}