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; /** *

Java class for contentStream element declaration. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <element name="contentStream">
 *   <complexType>
 *     <complexContent>
 *       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *         <sequence>
 *           <element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *           <element ref="{http://www.cmis.org/ns/1.0}name" minOccurs="0"/>
 *           <element name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
 *           <element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
 *         </sequence>
 *       </restriction>
 *     </complexContent>
 *   </complexType>
 * </element>
 * 
* * */ @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); } }