Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7480 vikram.rag 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:57:00 PM IST 
6
//
7
 
8
 
9
package in.shop2020.feeds.products;
10
 
11
import java.math.BigInteger;
12
import java.util.ArrayList;
13
import java.util.List;
14
import javax.xml.bind.annotation.XmlAccessType;
15
import javax.xml.bind.annotation.XmlAccessorType;
16
import javax.xml.bind.annotation.XmlElement;
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.NormalizedStringAdapter;
21
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
22
 
23
 
24
/**
25
 * <p>Java class for anonymous complex type.
26
 * 
27
 * <p>The following schema fragment specifies the expected content contained within this class.
28
 * 
29
 * <pre>
30
 * &lt;complexType>
31
 *   &lt;complexContent>
32
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33
 *       &lt;sequence>
34
 *         &lt;element name="AreBatteriesIncluded" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
35
 *         &lt;element name="AreBatteriesRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
36
 *         &lt;element name="BatterySubgroup" maxOccurs="3" minOccurs="0">
37
 *           &lt;complexType>
38
 *             &lt;complexContent>
39
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40
 *                 &lt;sequence>
41
 *                   &lt;element name="BatteryType">
42
 *                     &lt;simpleType>
43
 *                       &lt;restriction base="{}StringNotNull">
44
 *                         &lt;enumeration value="battery_type_2/3A"/>
45
 *                         &lt;enumeration value="battery_type_4/3A"/>
46
 *                         &lt;enumeration value="battery_type_4/5A"/>
47
 *                         &lt;enumeration value="battery_type_9v"/>
48
 *                         &lt;enumeration value="battery_type_12v"/>
49
 *                         &lt;enumeration value="battery_type_a"/>
50
 *                         &lt;enumeration value="battery_type_a76"/>
51
 *                         &lt;enumeration value="battery_type_aa"/>
52
 *                         &lt;enumeration value="battery_type_aaa"/>
53
 *                         &lt;enumeration value="battery_type_aaaa"/>
54
 *                         &lt;enumeration value="battery_type_c"/>
55
 *                         &lt;enumeration value="battery_type_cr123a"/>
56
 *                         &lt;enumeration value="battery_type_cr2"/>
57
 *                         &lt;enumeration value="battery_type_cr5"/>
58
 *                         &lt;enumeration value="battery_type_d"/>
59
 *                         &lt;enumeration value="battery_type_lithium_ion"/>
60
 *                         &lt;enumeration value="battery_type_lithium_metal"/>
61
 *                         &lt;enumeration value="battery_type_L-SC"/>
62
 *                         &lt;enumeration value="battery_type_p76"/>
63
 *                         &lt;enumeration value="battery_type_product_specific"/>
64
 *                         &lt;enumeration value="battery_type_SC"/>
65
 *                       &lt;/restriction>
66
 *                     &lt;/simpleType>
67
 *                   &lt;/element>
68
 *                   &lt;element name="NumberOfBatteries" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
69
 *                 &lt;/sequence>
70
 *               &lt;/restriction>
71
 *             &lt;/complexContent>
72
 *           &lt;/complexType>
73
 *         &lt;/element>
74
 *       &lt;/sequence>
75
 *     &lt;/restriction>
76
 *   &lt;/complexContent>
77
 * &lt;/complexType>
78
 * </pre>
79
 * 
80
 * 
81
 */
82
@XmlAccessorType(XmlAccessType.FIELD)
83
@XmlType(name = "", propOrder = {
84
    "areBatteriesIncluded",
85
    "areBatteriesRequired",
86
    "batterySubgroup"
87
})
88
@XmlRootElement(name = "Battery")
89
public class Battery {
90
 
91
    @XmlElement(name = "AreBatteriesIncluded")
92
    protected Boolean areBatteriesIncluded;
93
    @XmlElement(name = "AreBatteriesRequired")
94
    protected Boolean areBatteriesRequired;
95
    @XmlElement(name = "BatterySubgroup")
96
    protected List<Battery.BatterySubgroup> batterySubgroup;
97
 
98
    /**
99
     * Gets the value of the areBatteriesIncluded property.
100
     * 
101
     * @return
102
     *     possible object is
103
     *     {@link Boolean }
104
     *     
105
     */
106
    public Boolean isAreBatteriesIncluded() {
107
        return areBatteriesIncluded;
108
    }
109
 
110
    /**
111
     * Sets the value of the areBatteriesIncluded property.
112
     * 
113
     * @param value
114
     *     allowed object is
115
     *     {@link Boolean }
116
     *     
117
     */
118
    public void setAreBatteriesIncluded(Boolean value) {
119
        this.areBatteriesIncluded = value;
120
    }
121
 
122
    /**
123
     * Gets the value of the areBatteriesRequired property.
124
     * 
125
     * @return
126
     *     possible object is
127
     *     {@link Boolean }
128
     *     
129
     */
130
    public Boolean isAreBatteriesRequired() {
131
        return areBatteriesRequired;
132
    }
133
 
134
    /**
135
     * Sets the value of the areBatteriesRequired property.
136
     * 
137
     * @param value
138
     *     allowed object is
139
     *     {@link Boolean }
140
     *     
141
     */
142
    public void setAreBatteriesRequired(Boolean value) {
143
        this.areBatteriesRequired = value;
144
    }
145
 
146
    /**
147
     * Gets the value of the batterySubgroup property.
148
     * 
149
     * <p>
150
     * This accessor method returns a reference to the live list,
151
     * not a snapshot. Therefore any modification you make to the
152
     * returned list will be present inside the JAXB object.
153
     * This is why there is not a <CODE>set</CODE> method for the batterySubgroup property.
154
     * 
155
     * <p>
156
     * For example, to add a new item, do as follows:
157
     * <pre>
158
     *    getBatterySubgroup().add(newItem);
159
     * </pre>
160
     * 
161
     * 
162
     * <p>
163
     * Objects of the following type(s) are allowed in the list
164
     * {@link Battery.BatterySubgroup }
165
     * 
166
     * 
167
     */
168
    public List<Battery.BatterySubgroup> getBatterySubgroup() {
169
        if (batterySubgroup == null) {
170
            batterySubgroup = new ArrayList<Battery.BatterySubgroup>();
171
        }
172
        return this.batterySubgroup;
173
    }
174
 
175
 
176
    /**
177
     * <p>Java class for anonymous complex type.
178
     * 
179
     * <p>The following schema fragment specifies the expected content contained within this class.
180
     * 
181
     * <pre>
182
     * &lt;complexType>
183
     *   &lt;complexContent>
184
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
185
     *       &lt;sequence>
186
     *         &lt;element name="BatteryType">
187
     *           &lt;simpleType>
188
     *             &lt;restriction base="{}StringNotNull">
189
     *               &lt;enumeration value="battery_type_2/3A"/>
190
     *               &lt;enumeration value="battery_type_4/3A"/>
191
     *               &lt;enumeration value="battery_type_4/5A"/>
192
     *               &lt;enumeration value="battery_type_9v"/>
193
     *               &lt;enumeration value="battery_type_12v"/>
194
     *               &lt;enumeration value="battery_type_a"/>
195
     *               &lt;enumeration value="battery_type_a76"/>
196
     *               &lt;enumeration value="battery_type_aa"/>
197
     *               &lt;enumeration value="battery_type_aaa"/>
198
     *               &lt;enumeration value="battery_type_aaaa"/>
199
     *               &lt;enumeration value="battery_type_c"/>
200
     *               &lt;enumeration value="battery_type_cr123a"/>
201
     *               &lt;enumeration value="battery_type_cr2"/>
202
     *               &lt;enumeration value="battery_type_cr5"/>
203
     *               &lt;enumeration value="battery_type_d"/>
204
     *               &lt;enumeration value="battery_type_lithium_ion"/>
205
     *               &lt;enumeration value="battery_type_lithium_metal"/>
206
     *               &lt;enumeration value="battery_type_L-SC"/>
207
     *               &lt;enumeration value="battery_type_p76"/>
208
     *               &lt;enumeration value="battery_type_product_specific"/>
209
     *               &lt;enumeration value="battery_type_SC"/>
210
     *             &lt;/restriction>
211
     *           &lt;/simpleType>
212
     *         &lt;/element>
213
     *         &lt;element name="NumberOfBatteries" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
214
     *       &lt;/sequence>
215
     *     &lt;/restriction>
216
     *   &lt;/complexContent>
217
     * &lt;/complexType>
218
     * </pre>
219
     * 
220
     * 
221
     */
222
    @XmlAccessorType(XmlAccessType.FIELD)
223
    @XmlType(name = "", propOrder = {
224
        "batteryType",
225
        "numberOfBatteries"
226
    })
227
    public static class BatterySubgroup {
228
 
229
        @XmlElement(name = "BatteryType", required = true)
230
        @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
231
        protected String batteryType;
232
        @XmlElement(name = "NumberOfBatteries", required = true)
233
        @XmlSchemaType(name = "positiveInteger")
234
        protected BigInteger numberOfBatteries;
235
 
236
        /**
237
         * Gets the value of the batteryType property.
238
         * 
239
         * @return
240
         *     possible object is
241
         *     {@link String }
242
         *     
243
         */
244
        public String getBatteryType() {
245
            return batteryType;
246
        }
247
 
248
        /**
249
         * Sets the value of the batteryType property.
250
         * 
251
         * @param value
252
         *     allowed object is
253
         *     {@link String }
254
         *     
255
         */
256
        public void setBatteryType(String value) {
257
            this.batteryType = value;
258
        }
259
 
260
        /**
261
         * Gets the value of the numberOfBatteries property.
262
         * 
263
         * @return
264
         *     possible object is
265
         *     {@link BigInteger }
266
         *     
267
         */
268
        public BigInteger getNumberOfBatteries() {
269
            return numberOfBatteries;
270
        }
271
 
272
        /**
273
         * Sets the value of the numberOfBatteries property.
274
         * 
275
         * @param value
276
         *     allowed object is
277
         *     {@link BigInteger }
278
         *     
279
         */
280
        public void setNumberOfBatteries(BigInteger value) {
281
            this.numberOfBatteries = value;
282
        }
283
 
284
    }
285
 
286
}