View Javadoc
1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
3   // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2019.08.22 at 12:17:55 PM UTC 
6   //
7   
8   
9   package ejava.projects.esales.dto;
10  
11  import javax.xml.bind.annotation.XmlAccessType;
12  import javax.xml.bind.annotation.XmlAccessorType;
13  import javax.xml.bind.annotation.XmlAttribute;
14  import javax.xml.bind.annotation.XmlElement;
15  import javax.xml.bind.annotation.XmlIDREF;
16  import javax.xml.bind.annotation.XmlRootElement;
17  import javax.xml.bind.annotation.XmlSchemaType;
18  import javax.xml.bind.annotation.XmlType;
19  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20  
21  
22  /**
23   * <p>Java class for anonymous complex type.
24   * 
25   * <p>The following schema fragment specifies the expected content contained within this class.
26   * 
27   * <pre>
28   * &lt;complexType&gt;
29   *   &lt;complexContent&gt;
30   *     &lt;extension base="{http://ejava.info/eSales/1.0.2007.2}ReferencedType"&gt;
31   *       &lt;sequence&gt;
32   *         &lt;element name="auction-ref" type="{http://www.w3.org/2001/XMLSchema}IDREF"/&gt;
33   *         &lt;element name="image" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/&gt;
34   *       &lt;/sequence&gt;
35   *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}integer" /&gt;
36   *     &lt;/extension&gt;
37   *   &lt;/complexContent&gt;
38   * &lt;/complexType&gt;
39   * </pre>
40   * 
41   * 
42   */
43  @XmlAccessorType(XmlAccessType.FIELD)
44  @XmlType(name = "", propOrder = {
45      "auctionRef",
46      "image"
47  })
48  @XmlRootElement(name = "image")
49  public class Image
50      extends ReferencedType
51  {
52  
53      @XmlElement(name = "auction-ref", required = true)
54      @XmlIDREF
55      @XmlSchemaType(name = "IDREF")
56      protected Object auctionRef;
57      @XmlElement(required = true)
58      protected byte[] image;
59      @XmlAttribute(name = "id")
60      @XmlJavaTypeAdapter(Adapter4 .class)
61      @XmlSchemaType(name = "integer")
62      protected Integer id;
63  
64      /**
65       * Default no-arg constructor
66       * 
67       */
68      public Image() {
69          super();
70      }
71  
72      /**
73       * Fully-initialising value constructor
74       * 
75       */
76      public Image(final String refid, final Object auctionRef, final byte[] image, final Integer id) {
77          super(refid);
78          this.auctionRef = auctionRef;
79          this.image = image;
80          this.id = id;
81      }
82  
83      /**
84       * Gets the value of the auctionRef property.
85       * 
86       * @return
87       *     possible object is
88       *     {@link Object }
89       *     
90       */
91      public Object getAuctionRef() {
92          return auctionRef;
93      }
94  
95      /**
96       * Sets the value of the auctionRef property.
97       * 
98       * @param value
99       *     allowed object is
100      *     {@link Object }
101      *     
102      */
103     public void setAuctionRef(Object value) {
104         this.auctionRef = value;
105     }
106 
107     /**
108      * Gets the value of the image property.
109      * 
110      * @return
111      *     possible object is
112      *     byte[]
113      */
114     public byte[] getImage() {
115         return image;
116     }
117 
118     /**
119      * Sets the value of the image property.
120      * 
121      * @param value
122      *     allowed object is
123      *     byte[]
124      */
125     public void setImage(byte[] value) {
126         this.image = value;
127     }
128 
129     /**
130      * Gets the value of the id property.
131      * 
132      * @return
133      *     possible object is
134      *     {@link String }
135      *     
136      */
137     public Integer getId() {
138         return id;
139     }
140 
141     /**
142      * Sets the value of the id property.
143      * 
144      * @param value
145      *     allowed object is
146      *     {@link String }
147      *     
148      */
149     public void setId(Integer value) {
150         this.id = value;
151     }
152 
153 }