001    
002    package org.apache.camel.cxf.mtom_feature.types;
003    
004    import java.awt.Image;
005    import javax.xml.bind.annotation.XmlAccessType;
006    import javax.xml.bind.annotation.XmlAccessorType;
007    import javax.xml.bind.annotation.XmlElement;
008    import javax.xml.bind.annotation.XmlMimeType;
009    import javax.xml.bind.annotation.XmlType;
010    
011    
012    /**
013     * <p>Java class for DetailType complex type.
014     * 
015     * <p>The following schema fragment specifies the expected content contained within this class.
016     * 
017     * <pre>
018     * &lt;complexType name="DetailType">
019     *   &lt;complexContent>
020     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
021     *       &lt;sequence>
022     *         &lt;element name="photo" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
023     *         &lt;element name="image" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
024     *       &lt;/sequence>
025     *     &lt;/restriction>
026     *   &lt;/complexContent>
027     * &lt;/complexType>
028     * </pre>
029     * 
030     * 
031     */
032    @XmlAccessorType(XmlAccessType.FIELD)
033    @XmlType(name = "DetailType", propOrder = {
034        "photo",
035        "image"
036    })
037    public class DetailType {
038    
039        @XmlElement(required = true)
040        protected byte[] photo;
041        @XmlElement(required = true)
042        @XmlMimeType("image/jpeg")
043        protected Image image;
044    
045        /**
046         * Gets the value of the photo property.
047         * 
048         * @return
049         *     possible object is
050         *     byte[]
051         */
052        public byte[] getPhoto() {
053            return photo;
054        }
055    
056        /**
057         * Sets the value of the photo property.
058         * 
059         * @param value
060         *     allowed object is
061         *     byte[]
062         */
063        public void setPhoto(byte[] value) {
064            this.photo = ((byte[]) value);
065        }
066    
067        /**
068         * Gets the value of the image property.
069         * 
070         * @return
071         *     possible object is
072         *     {@link Image }
073         *     
074         */
075        public Image getImage() {
076            return image;
077        }
078    
079        /**
080         * Sets the value of the image property.
081         * 
082         * @param value
083         *     allowed object is
084         *     {@link Image }
085         *     
086         */
087        public void setImage(Image value) {
088            this.image = value;
089        }
090    
091    }