/** * Copyright (C) 2011-2015 The XDocReport Team <xdocreport@googlegroups.com> * * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sublicense, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2012.06.08 at 12:23:41 AM CEST // package fr.opensagres.xdocreport.remoting.resources.domain; import java.io.InputStream; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for largeBinaryData complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="largeBinaryData"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="content" type="{domain.resources.remoting.xdocreport.opensagres.fr}inputStream" minOccurs="0"/> * <element name="fileName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="length" type="{http://www.w3.org/2001/XMLSchema}long"/> * <element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="resourceId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "largeBinaryData", propOrder = { "content", "fileName", "length", "mimeType", "resourceId" }) public class LargeBinaryData { private static final String DEFAULT_MIMETYPE = "application/octet-stream"; protected InputStream content; protected String fileName; protected long length; protected String mimeType = DEFAULT_MIMETYPE; protected String resourceId; /** * Gets the value of the content property. * * @return * possible object is * {@link InputStream } * */ public InputStream getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is * {@link InputStream } * */ public void setContent(InputStream value) { this.content = value; } /** * Gets the value of the fileName property. * * @return * possible object is * {@link String } * */ public String getFileName() { return fileName; } /** * Sets the value of the fileName property. * * @param value * allowed object is * {@link String } * */ public void setFileName(String value) { this.fileName = value; } /** * Gets the value of the length property. * */ public long getLength() { return length; } /** * Sets the value of the length property. * */ public void setLength(long value) { this.length = value; } /** * 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 resourceId property. * * @return * possible object is * {@link String } * */ public String getResourceId() { return resourceId; } /** * Sets the value of the resourceId property. * * @param value * allowed object is * {@link String } * */ public void setResourceId(String value) { this.resourceId = value; } }