Files
alfresco-community-repo/source/generated/org/alfresco/repo/cmis/ws/ContentStream.java
David Caruana f51be032bc Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 10:44:42 +00:00

149 lines
3.5 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 contentStream element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="contentStream">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}name" minOccurs="0"/>
* &lt;element name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* &lt;element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"mimeType",
"name",
"uri",
"stream"
})
@XmlRootElement(name = "contentStream")
public class ContentStream {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String mimeType;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String name;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String uri;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected byte[] stream;
/**
* Gets the value of the mimeType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMimeType() {
return mimeType;
}
/**
* Sets the value of the mimeType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMimeType(String value) {
this.mimeType = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUri() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUri(String value) {
this.uri = value;
}
/**
* Gets the value of the stream property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getStream() {
return stream;
}
/**
* Sets the value of the stream property.
*
* @param value
* allowed object is
* byte[]
*/
public void setStream(byte[] value) {
this.stream = ((byte[]) value);
}
}