All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ow2.petals.bc.soap.attachments.EchoResponse Maven / Gradle / Ivy

The newest version!

package org.ow2.petals.bc.soap.attachments;

import java.awt.Image;
import javax.activation.DataHandler;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlMimeType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Classe Java pour anonymous complex type.
 * 
 * <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe.
 * 
 * <pre>
 * &lt;complexType&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="attachmentImage" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/&gt;
 *         &lt;element name="attachmentBinary" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "attachmentImage",
    "attachmentBinary"
})
@XmlRootElement(name = "echoResponse")
public class EchoResponse {

    @XmlElement(required = true)
    @XmlMimeType("image/jpeg")
    protected Image attachmentImage;
    @XmlElement(required = true)
    @XmlMimeType("application/octet-stream")
    protected DataHandler attachmentBinary;

    /**
     * Obtient la valeur de la propriété attachmentImage.
     * 
     * @return
     *     possible object is
     *     {@link Image }
     *     
     */
    public Image getAttachmentImage() {
        return attachmentImage;
    }

    /**
     * Définit la valeur de la propriété attachmentImage.
     * 
     * @param value
     *     allowed object is
     *     {@link Image }
     *     
     */
    public void setAttachmentImage(Image value) {
        this.attachmentImage = value;
    }

    /**
     * Obtient la valeur de la propriété attachmentBinary.
     * 
     * @return
     *     possible object is
     *     {@link DataHandler }
     *     
     */
    public DataHandler getAttachmentBinary() {
        return attachmentBinary;
    }

    /**
     * Définit la valeur de la propriété attachmentBinary.
     * 
     * @param value
     *     allowed object is
     *     {@link DataHandler }
     *     
     */
    public void setAttachmentBinary(DataHandler value) {
        this.attachmentBinary = value;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy