mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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
114 lines
3.1 KiB
Java
114 lines
3.1 KiB
Java
|
|
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;
|
|
|
|
|
|
/**
|
|
* <p>Java class for anonymous complex type.
|
|
*
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
*
|
|
* <pre>
|
|
* <complexType>
|
|
* <complexContent>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
* <sequence>
|
|
* <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
|
* <element name="contentCopied" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
|
* <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
|
|
* </sequence>
|
|
* </restriction>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </pre>
|
|
*
|
|
*
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "", propOrder = {
|
|
"documentId",
|
|
"contentCopied",
|
|
"extension"
|
|
})
|
|
@XmlRootElement(name = "checkOutResponse")
|
|
public class CheckOutResponse {
|
|
|
|
@XmlElement(required = true)
|
|
protected String documentId;
|
|
protected boolean contentCopied;
|
|
@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.
|
|
*
|
|
* @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 contentCopied property.
|
|
*
|
|
*/
|
|
public boolean isContentCopied() {
|
|
return contentCopied;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the contentCopied property.
|
|
*
|
|
*/
|
|
public void setContentCopied(boolean value) {
|
|
this.contentCopied = 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);
|
|
}
|
|
|
|
}
|