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@10733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
207 lines
5.3 KiB
Java
207 lines
5.3 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 createDocument element declaration.
|
|
*
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
*
|
|
* <pre>
|
|
* <element name="createDocument">
|
|
* <complexType>
|
|
* <complexContent>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
* <sequence>
|
|
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
|
* <element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
|
* <element name="properties" type="{http://www.cmis.org/ns/1.0}propertiesType"/>
|
|
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}ID" minOccurs="0"/>
|
|
* <element ref="{http://www.cmis.org/ns/1.0}contentStream" minOccurs="0"/>
|
|
* <element name="versioningState" type="{http://www.cmis.org/ns/1.0}versioningStateEnum" minOccurs="0"/>
|
|
* </sequence>
|
|
* </restriction>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </element>
|
|
* </pre>
|
|
*
|
|
*
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "", propOrder = {
|
|
"repositoryId",
|
|
"typeId",
|
|
"properties",
|
|
"folderId",
|
|
"contentStream",
|
|
"versioningState"
|
|
})
|
|
@XmlRootElement(name = "createDocument")
|
|
public class CreateDocument {
|
|
|
|
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
|
protected String repositoryId;
|
|
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
|
protected String typeId;
|
|
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
|
protected PropertiesType properties;
|
|
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
|
protected String folderId;
|
|
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
|
protected ContentStreamType contentStream;
|
|
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
|
protected VersioningStateEnum versioningState;
|
|
|
|
/**
|
|
* 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 typeId property.
|
|
*
|
|
* @return
|
|
* possible object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public String getTypeId() {
|
|
return typeId;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the typeId property.
|
|
*
|
|
* @param value
|
|
* allowed object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public void setTypeId(String value) {
|
|
this.typeId = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the properties property.
|
|
*
|
|
* @return
|
|
* possible object is
|
|
* {@link PropertiesType }
|
|
*
|
|
*/
|
|
public PropertiesType getProperties() {
|
|
return properties;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the properties property.
|
|
*
|
|
* @param value
|
|
* allowed object is
|
|
* {@link PropertiesType }
|
|
*
|
|
*/
|
|
public void setProperties(PropertiesType value) {
|
|
this.properties = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the folderId property.
|
|
*
|
|
* @return
|
|
* possible object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public String getFolderId() {
|
|
return folderId;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the folderId property.
|
|
*
|
|
* @param value
|
|
* allowed object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public void setFolderId(String value) {
|
|
this.folderId = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the contentStream property.
|
|
*
|
|
* @return
|
|
* possible object is
|
|
* {@link ContentStreamType }
|
|
*
|
|
*/
|
|
public ContentStreamType getContentStream() {
|
|
return contentStream;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the contentStream property.
|
|
*
|
|
* @param value
|
|
* allowed object is
|
|
* {@link ContentStreamType }
|
|
*
|
|
*/
|
|
public void setContentStream(ContentStreamType value) {
|
|
this.contentStream = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the versioningState property.
|
|
*
|
|
* @return
|
|
* possible object is
|
|
* {@link VersioningStateEnum }
|
|
*
|
|
*/
|
|
public VersioningStateEnum getVersioningState() {
|
|
return versioningState;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the versioningState property.
|
|
*
|
|
* @param value
|
|
* allowed object is
|
|
* {@link VersioningStateEnum }
|
|
*
|
|
*/
|
|
public void setVersioningState(VersioningStateEnum value) {
|
|
this.versioningState = value;
|
|
}
|
|
|
|
}
|