org.ow2.petals.bc.soap.attachments.EchoResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of petals-bc-soap Show documentation
Show all versions of petals-bc-soap Show documentation
The PEtALS SOAP JBI binding component based on Axis2 and Jetty.
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>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="attachmentImage" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* <element name="attachmentBinary" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </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;
}
}