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:
David Caruana
2009-10-29 18:40:59 +00:00
parent 93346e262e
commit d6b8ce91a5
203 changed files with 10223 additions and 6060 deletions

View File

@@ -24,7 +24,8 @@ import javax.xml.bind.annotation.XmlType;
* <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="changeToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}cmisContentStreamType"/>
* <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisContentStreamType"/>
* <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
@@ -39,7 +40,8 @@ import javax.xml.bind.annotation.XmlType;
"documentId",
"overwriteFlag",
"changeToken",
"contentStream"
"contentStream",
"extension"
})
@XmlRootElement(name = "setContentStream")
public class SetContentStream {
@@ -48,11 +50,14 @@ public class SetContentStream {
protected String repositoryId;
@XmlElement(required = true)
protected String documentId;
@XmlElementRef(name = "overwriteFlag", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
@XmlElementRef(name = "overwriteFlag", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
protected JAXBElement<Boolean> overwriteFlag;
protected String changeToken;
@XmlElementRef(name = "changeToken", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
protected JAXBElement<String> changeToken;
@XmlElement(required = true)
protected CmisContentStreamType contentStream;
@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 repositoryId property.
@@ -131,10 +136,10 @@ public class SetContentStream {
*
* @return
* possible object is
* {@link String }
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public String getChangeToken() {
public JAXBElement<String> getChangeToken() {
return changeToken;
}
@@ -143,11 +148,11 @@ public class SetContentStream {
*
* @param value
* allowed object is
* {@link String }
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setChangeToken(String value) {
this.changeToken = value;
public void setChangeToken(JAXBElement<String> value) {
this.changeToken = ((JAXBElement<String> ) value);
}
/**
@@ -174,4 +179,28 @@ public class SetContentStream {
this.contentStream = 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);
}
}