Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7487 kshitij.so 1
//
2
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
3
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4
// Any modifications to this file will be lost upon recompilation of the source schema. 
5
// Generated on: 2013.03.04 at 03:49:29 PM IST 
6
//
7
 
8
 
9
package in.shop2020.feeds.products;
10
 
11
import java.math.BigDecimal;
12
import java.math.BigInteger;
13
import java.util.ArrayList;
14
import java.util.List;
15
import javax.xml.bind.annotation.XmlAccessType;
16
import javax.xml.bind.annotation.XmlAccessorType;
17
import javax.xml.bind.annotation.XmlElement;
18
import javax.xml.bind.annotation.XmlRootElement;
19
import javax.xml.bind.annotation.XmlSchemaType;
20
import javax.xml.bind.annotation.XmlType;
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
 * &lt;complexType>
30
 *   &lt;complexContent>
31
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32
 *       &lt;sequence>
33
 *         &lt;element name="GritRating" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
34
 *         &lt;element name="Horsepower" type="{}ToolsHorsepower" minOccurs="0"/>
35
 *         &lt;element name="Diameter" type="{}LengthDimension" minOccurs="0"/>
36
 *         &lt;element name="Length" type="{}LengthDimension" minOccurs="0"/>
37
 *         &lt;element name="Width" type="{}LengthDimension" minOccurs="0"/>
38
 *         &lt;element name="Height" type="{}LengthDimension" minOccurs="0"/>
39
 *         &lt;element name="Weight" type="{}WeightDimension" minOccurs="0"/>
40
 *         &lt;element name="PowerSource" maxOccurs="2" minOccurs="0">
41
 *           &lt;simpleType>
42
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
43
 *               &lt;enumeration value="battery-powered"/>
44
 *               &lt;enumeration value="gas-powered"/>
45
 *               &lt;enumeration value="hydraulic-powered"/>
46
 *               &lt;enumeration value="air-powered"/>
47
 *               &lt;enumeration value="corded-electric"/>
48
 *             &lt;/restriction>
49
 *           &lt;/simpleType>
50
 *         &lt;/element>
51
 *         &lt;element name="Wattage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
52
 *         &lt;element name="Voltage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
53
 *         &lt;element name="NumberOfItemsInPackage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
54
 *       &lt;/sequence>
55
 *     &lt;/restriction>
56
 *   &lt;/complexContent>
57
 * &lt;/complexType>
58
 * </pre>
59
 * 
60
 * 
61
 */
62
@XmlAccessorType(XmlAccessType.FIELD)
63
@XmlType(name = "", propOrder = {
64
    "gritRating",
65
    "horsepower",
66
    "diameter",
67
    "length",
68
    "width",
69
    "height",
70
    "weight",
71
    "powerSource",
72
    "wattage",
73
    "voltage",
74
    "numberOfItemsInPackage"
75
})
76
@XmlRootElement(name = "Tools")
77
public class Tools {
78
 
79
    @XmlElement(name = "GritRating")
80
    @XmlSchemaType(name = "positiveInteger")
81
    protected BigInteger gritRating;
82
    @XmlElement(name = "Horsepower")
83
    protected BigDecimal horsepower;
84
    @XmlElement(name = "Diameter")
85
    protected LengthDimension diameter;
86
    @XmlElement(name = "Length")
87
    protected LengthDimension length;
88
    @XmlElement(name = "Width")
89
    protected LengthDimension width;
90
    @XmlElement(name = "Height")
91
    protected LengthDimension height;
92
    @XmlElement(name = "Weight")
93
    protected WeightDimension weight;
94
    @XmlElement(name = "PowerSource")
95
    protected List<String> powerSource;
96
    @XmlElement(name = "Wattage")
97
    @XmlSchemaType(name = "positiveInteger")
98
    protected BigInteger wattage;
99
    @XmlElement(name = "Voltage")
100
    @XmlSchemaType(name = "positiveInteger")
101
    protected BigInteger voltage;
102
    @XmlElement(name = "NumberOfItemsInPackage")
103
    @XmlSchemaType(name = "positiveInteger")
104
    protected BigInteger numberOfItemsInPackage;
105
 
106
    /**
107
     * Gets the value of the gritRating property.
108
     * 
109
     * @return
110
     *     possible object is
111
     *     {@link BigInteger }
112
     *     
113
     */
114
    public BigInteger getGritRating() {
115
        return gritRating;
116
    }
117
 
118
    /**
119
     * Sets the value of the gritRating property.
120
     * 
121
     * @param value
122
     *     allowed object is
123
     *     {@link BigInteger }
124
     *     
125
     */
126
    public void setGritRating(BigInteger value) {
127
        this.gritRating = value;
128
    }
129
 
130
    /**
131
     * Gets the value of the horsepower property.
132
     * 
133
     * @return
134
     *     possible object is
135
     *     {@link BigDecimal }
136
     *     
137
     */
138
    public BigDecimal getHorsepower() {
139
        return horsepower;
140
    }
141
 
142
    /**
143
     * Sets the value of the horsepower property.
144
     * 
145
     * @param value
146
     *     allowed object is
147
     *     {@link BigDecimal }
148
     *     
149
     */
150
    public void setHorsepower(BigDecimal value) {
151
        this.horsepower = value;
152
    }
153
 
154
    /**
155
     * Gets the value of the diameter property.
156
     * 
157
     * @return
158
     *     possible object is
159
     *     {@link LengthDimension }
160
     *     
161
     */
162
    public LengthDimension getDiameter() {
163
        return diameter;
164
    }
165
 
166
    /**
167
     * Sets the value of the diameter property.
168
     * 
169
     * @param value
170
     *     allowed object is
171
     *     {@link LengthDimension }
172
     *     
173
     */
174
    public void setDiameter(LengthDimension value) {
175
        this.diameter = value;
176
    }
177
 
178
    /**
179
     * Gets the value of the length property.
180
     * 
181
     * @return
182
     *     possible object is
183
     *     {@link LengthDimension }
184
     *     
185
     */
186
    public LengthDimension getLength() {
187
        return length;
188
    }
189
 
190
    /**
191
     * Sets the value of the length property.
192
     * 
193
     * @param value
194
     *     allowed object is
195
     *     {@link LengthDimension }
196
     *     
197
     */
198
    public void setLength(LengthDimension value) {
199
        this.length = value;
200
    }
201
 
202
    /**
203
     * Gets the value of the width property.
204
     * 
205
     * @return
206
     *     possible object is
207
     *     {@link LengthDimension }
208
     *     
209
     */
210
    public LengthDimension getWidth() {
211
        return width;
212
    }
213
 
214
    /**
215
     * Sets the value of the width property.
216
     * 
217
     * @param value
218
     *     allowed object is
219
     *     {@link LengthDimension }
220
     *     
221
     */
222
    public void setWidth(LengthDimension value) {
223
        this.width = value;
224
    }
225
 
226
    /**
227
     * Gets the value of the height property.
228
     * 
229
     * @return
230
     *     possible object is
231
     *     {@link LengthDimension }
232
     *     
233
     */
234
    public LengthDimension getHeight() {
235
        return height;
236
    }
237
 
238
    /**
239
     * Sets the value of the height property.
240
     * 
241
     * @param value
242
     *     allowed object is
243
     *     {@link LengthDimension }
244
     *     
245
     */
246
    public void setHeight(LengthDimension value) {
247
        this.height = value;
248
    }
249
 
250
    /**
251
     * Gets the value of the weight property.
252
     * 
253
     * @return
254
     *     possible object is
255
     *     {@link WeightDimension }
256
     *     
257
     */
258
    public WeightDimension getWeight() {
259
        return weight;
260
    }
261
 
262
    /**
263
     * Sets the value of the weight property.
264
     * 
265
     * @param value
266
     *     allowed object is
267
     *     {@link WeightDimension }
268
     *     
269
     */
270
    public void setWeight(WeightDimension value) {
271
        this.weight = value;
272
    }
273
 
274
    /**
275
     * Gets the value of the powerSource property.
276
     * 
277
     * <p>
278
     * This accessor method returns a reference to the live list,
279
     * not a snapshot. Therefore any modification you make to the
280
     * returned list will be present inside the JAXB object.
281
     * This is why there is not a <CODE>set</CODE> method for the powerSource property.
282
     * 
283
     * <p>
284
     * For example, to add a new item, do as follows:
285
     * <pre>
286
     *    getPowerSource().add(newItem);
287
     * </pre>
288
     * 
289
     * 
290
     * <p>
291
     * Objects of the following type(s) are allowed in the list
292
     * {@link String }
293
     * 
294
     * 
295
     */
296
    public List<String> getPowerSource() {
297
        if (powerSource == null) {
298
            powerSource = new ArrayList<String>();
299
        }
300
        return this.powerSource;
301
    }
302
 
303
    /**
304
     * Gets the value of the wattage property.
305
     * 
306
     * @return
307
     *     possible object is
308
     *     {@link BigInteger }
309
     *     
310
     */
311
    public BigInteger getWattage() {
312
        return wattage;
313
    }
314
 
315
    /**
316
     * Sets the value of the wattage property.
317
     * 
318
     * @param value
319
     *     allowed object is
320
     *     {@link BigInteger }
321
     *     
322
     */
323
    public void setWattage(BigInteger value) {
324
        this.wattage = value;
325
    }
326
 
327
    /**
328
     * Gets the value of the voltage property.
329
     * 
330
     * @return
331
     *     possible object is
332
     *     {@link BigInteger }
333
     *     
334
     */
335
    public BigInteger getVoltage() {
336
        return voltage;
337
    }
338
 
339
    /**
340
     * Sets the value of the voltage property.
341
     * 
342
     * @param value
343
     *     allowed object is
344
     *     {@link BigInteger }
345
     *     
346
     */
347
    public void setVoltage(BigInteger value) {
348
        this.voltage = value;
349
    }
350
 
351
    /**
352
     * Gets the value of the numberOfItemsInPackage property.
353
     * 
354
     * @return
355
     *     possible object is
356
     *     {@link BigInteger }
357
     *     
358
     */
359
    public BigInteger getNumberOfItemsInPackage() {
360
        return numberOfItemsInPackage;
361
    }
362
 
363
    /**
364
     * Sets the value of the numberOfItemsInPackage property.
365
     * 
366
     * @param value
367
     *     allowed object is
368
     *     {@link BigInteger }
369
     *     
370
     */
371
    public void setNumberOfItemsInPackage(BigInteger value) {
372
        this.numberOfItemsInPackage = value;
373
    }
374
 
375
}