1 2 package org.mule.example.employee; 3 4 import javax.activation.DataHandler; 5 import javax.xml.bind.annotation.XmlAccessType; 6 import javax.xml.bind.annotation.XmlAccessorType; 7 import javax.xml.bind.annotation.XmlMimeType; 8 import javax.xml.bind.annotation.XmlType; 9 10 11 /** 12 * <p>Java class for employee complex type. 13 * 14 * <p>The following schema fragment specifies the expected content contained within this class. 15 * 16 * <pre> 17 * <complexType name="employee"> 18 * <complexContent> 19 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 20 * <sequence> 21 * <element name="division" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 22 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 23 * <element name="picture" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/> 24 * </sequence> 25 * </restriction> 26 * </complexContent> 27 * </complexType> 28 * </pre> 29 * 30 * 31 */ 32 @XmlAccessorType(XmlAccessType.FIELD) 33 @XmlType(name = "employee", propOrder = { 34 "division", 35 "name", 36 "picture" 37 }) 38 public class Employee { 39 40 protected String division; 41 protected String name; 42 @XmlMimeType("application/octet-stream") 43 protected DataHandler picture; 44 45 /** 46 * Gets the value of the division property. 47 * 48 * @return 49 * possible object is 50 * {@link String } 51 * 52 */ 53 public String getDivision() { 54 return division; 55 } 56 57 /** 58 * Sets the value of the division property. 59 * 60 * @param value 61 * allowed object is 62 * {@link String } 63 * 64 */ 65 public void setDivision(String value) { 66 this.division = value; 67 } 68 69 /** 70 * Gets the value of the name property. 71 * 72 * @return 73 * possible object is 74 * {@link String } 75 * 76 */ 77 public String getName() { 78 return name; 79 } 80 81 /** 82 * Sets the value of the name property. 83 * 84 * @param value 85 * allowed object is 86 * {@link String } 87 * 88 */ 89 public void setName(String value) { 90 this.name = value; 91 } 92 93 /** 94 * Gets the value of the picture property. 95 * 96 * @return 97 * possible object is 98 * {@link DataHandler } 99 * 100 */ 101 public DataHandler getPicture() { 102 return picture; 103 } 104 105 /** 106 * Sets the value of the picture property. 107 * 108 * @param value 109 * allowed object is 110 * {@link DataHandler } 111 * 112 */ 113 public void setPicture(DataHandler value) { 114 this.picture = value; 115 } 116 117 }