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 java.util.Date;
12 import javax.xml.bind.annotation.XmlAccessType;
13 import javax.xml.bind.annotation.XmlAccessorType;
14 import javax.xml.bind.annotation.XmlAttribute;
15 import javax.xml.bind.annotation.XmlElement;
16 import javax.xml.bind.annotation.XmlIDREF;
17 import javax.xml.bind.annotation.XmlRootElement;
18 import javax.xml.bind.annotation.XmlSchemaType;
19 import javax.xml.bind.annotation.XmlType;
20 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
21
22
23 /**
24 * <p>Java class for anonymous complex type.
25 *
26 * <p>The following schema fragment specifies the expected content contained within this class.
27 *
28 * <pre>
29 * <complexType>
30 * <complexContent>
31 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32 * <sequence>
33 * <element name="bidTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
34 * <element name="amount" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
35 * <element name="item" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
36 * <element name="bidder" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
37 * </sequence>
38 * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}integer" />
39 * </restriction>
40 * </complexContent>
41 * </complexType>
42 * </pre>
43 *
44 *
45 */
46 @XmlAccessorType(XmlAccessType.FIELD)
47 @XmlType(name = "", propOrder = {
48 "bidTime",
49 "amount",
50 "item",
51 "bidder"
52 })
53 @XmlRootElement(name = "bid")
54 public class Bid {
55
56 @XmlElement(required = true, type = String.class)
57 @XmlJavaTypeAdapter(Adapter2 .class)
58 @XmlSchemaType(name = "dateTime")
59 protected Date bidTime;
60 @XmlElement(required = true, type = String.class)
61 @XmlJavaTypeAdapter(Adapter1 .class)
62 @XmlSchemaType(name = "decimal")
63 protected Float amount;
64 @XmlElement(required = true)
65 @XmlIDREF
66 @XmlSchemaType(name = "IDREF")
67 protected Object item;
68 @XmlElement(required = true)
69 @XmlIDREF
70 @XmlSchemaType(name = "IDREF")
71 protected Object bidder;
72 @XmlAttribute(name = "id")
73 @XmlJavaTypeAdapter(Adapter4 .class)
74 @XmlSchemaType(name = "integer")
75 protected Integer id;
76
77 /**
78 * Default no-arg constructor
79 *
80 */
81 public Bid() {
82 super();
83 }
84
85 /**
86 * Fully-initialising value constructor
87 *
88 */
89 public Bid(final Date bidTime, final Float amount, final Object item, final Object bidder, final Integer id) {
90 this.bidTime = bidTime;
91 this.amount = amount;
92 this.item = item;
93 this.bidder = bidder;
94 this.id = id;
95 }
96
97 /**
98 * Gets the value of the bidTime property.
99 *
100 * @return
101 * possible object is
102 * {@link String }
103 *
104 */
105 public Date getBidTime() {
106 return bidTime;
107 }
108
109 /**
110 * Sets the value of the bidTime property.
111 *
112 * @param value
113 * allowed object is
114 * {@link String }
115 *
116 */
117 public void setBidTime(Date value) {
118 this.bidTime = value;
119 }
120
121 /**
122 * Gets the value of the amount property.
123 *
124 * @return
125 * possible object is
126 * {@link String }
127 *
128 */
129 public Float getAmount() {
130 return amount;
131 }
132
133 /**
134 * Sets the value of the amount property.
135 *
136 * @param value
137 * allowed object is
138 * {@link String }
139 *
140 */
141 public void setAmount(Float value) {
142 this.amount = value;
143 }
144
145 /**
146 * Gets the value of the item property.
147 *
148 * @return
149 * possible object is
150 * {@link Object }
151 *
152 */
153 public Object getItem() {
154 return item;
155 }
156
157 /**
158 * Sets the value of the item property.
159 *
160 * @param value
161 * allowed object is
162 * {@link Object }
163 *
164 */
165 public void setItem(Object value) {
166 this.item = value;
167 }
168
169 /**
170 * Gets the value of the bidder property.
171 *
172 * @return
173 * possible object is
174 * {@link Object }
175 *
176 */
177 public Object getBidder() {
178 return bidder;
179 }
180
181 /**
182 * Sets the value of the bidder property.
183 *
184 * @param value
185 * allowed object is
186 * {@link Object }
187 *
188 */
189 public void setBidder(Object value) {
190 this.bidder = value;
191 }
192
193 /**
194 * Gets the value of the id property.
195 *
196 * @return
197 * possible object is
198 * {@link String }
199 *
200 */
201 public Integer getId() {
202 return id;
203 }
204
205 /**
206 * Sets the value of the id property.
207 *
208 * @param value
209 * allowed object is
210 * {@link String }
211 *
212 */
213 public void setId(Integer value) {
214 this.id = value;
215 }
216
217 }