mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged CMIS063 to HEAD
16930: MOB-1330: Upgrade Web Services Repository to 0.7 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
|
||||
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;
|
||||
|
||||
@@ -19,6 +21,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -29,13 +33,18 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentId"
|
||||
"documentId",
|
||||
"changeToken",
|
||||
"extension"
|
||||
})
|
||||
@XmlRootElement(name = "setContentStreamResponse")
|
||||
public class SetContentStreamResponse {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String documentId;
|
||||
protected String changeToken;
|
||||
@XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
|
||||
protected JAXBElement<CmisExtensionType> extension;
|
||||
|
||||
/**
|
||||
* Gets the value of the documentId property.
|
||||
@@ -61,4 +70,52 @@ public class SetContentStreamResponse {
|
||||
this.documentId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the changeToken property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getChangeToken() {
|
||||
return changeToken;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the changeToken property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setChangeToken(String value) {
|
||||
this.changeToken = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the extension property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
|
||||
*
|
||||
*/
|
||||
public JAXBElement<CmisExtensionType> getExtension() {
|
||||
return extension;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the extension property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
|
||||
*
|
||||
*/
|
||||
public void setExtension(JAXBElement<CmisExtensionType> value) {
|
||||
this.extension = ((JAXBElement<CmisExtensionType> ) value);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user