Blame | Last modification | View Log | RSS feed
//// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>// Any modifications to this file will be lost upon recompilation of the source schema.// Generated on: 2013.03.04 at 03:57:00 PM IST//package in.shop2020.feeds.products;import java.math.BigInteger;import java.util.ArrayList;import java.util.List;import javax.xml.bind.annotation.XmlAccessType;import javax.xml.bind.annotation.XmlAccessorType;import javax.xml.bind.annotation.XmlElement;import javax.xml.bind.annotation.XmlRootElement;import javax.xml.bind.annotation.XmlSchemaType;import javax.xml.bind.annotation.XmlType;import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;/*** <p>Java class for anonymous complex type.** <p>The following schema fragment specifies the expected content contained within this class.** <pre>* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="AreBatteriesIncluded" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>* <element name="AreBatteriesRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>* <element name="BatterySubgroup" maxOccurs="3" minOccurs="0">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="BatteryType">* <simpleType>* <restriction base="{}StringNotNull">* <enumeration value="battery_type_2/3A"/>* <enumeration value="battery_type_4/3A"/>* <enumeration value="battery_type_4/5A"/>* <enumeration value="battery_type_9v"/>* <enumeration value="battery_type_12v"/>* <enumeration value="battery_type_a"/>* <enumeration value="battery_type_a76"/>* <enumeration value="battery_type_aa"/>* <enumeration value="battery_type_aaa"/>* <enumeration value="battery_type_aaaa"/>* <enumeration value="battery_type_c"/>* <enumeration value="battery_type_cr123a"/>* <enumeration value="battery_type_cr2"/>* <enumeration value="battery_type_cr5"/>* <enumeration value="battery_type_d"/>* <enumeration value="battery_type_lithium_ion"/>* <enumeration value="battery_type_lithium_metal"/>* <enumeration value="battery_type_L-SC"/>* <enumeration value="battery_type_p76"/>* <enumeration value="battery_type_product_specific"/>* <enumeration value="battery_type_SC"/>* </restriction>* </simpleType>* </element>* <element name="NumberOfBatteries" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = {"areBatteriesIncluded","areBatteriesRequired","batterySubgroup"})@XmlRootElement(name = "Battery")public class Battery {@XmlElement(name = "AreBatteriesIncluded")protected Boolean areBatteriesIncluded;@XmlElement(name = "AreBatteriesRequired")protected Boolean areBatteriesRequired;@XmlElement(name = "BatterySubgroup")protected List<Battery.BatterySubgroup> batterySubgroup;/*** Gets the value of the areBatteriesIncluded property.** @return* possible object is* {@link Boolean }**/public Boolean isAreBatteriesIncluded() {return areBatteriesIncluded;}/*** Sets the value of the areBatteriesIncluded property.** @param value* allowed object is* {@link Boolean }**/public void setAreBatteriesIncluded(Boolean value) {this.areBatteriesIncluded = value;}/*** Gets the value of the areBatteriesRequired property.** @return* possible object is* {@link Boolean }**/public Boolean isAreBatteriesRequired() {return areBatteriesRequired;}/*** Sets the value of the areBatteriesRequired property.** @param value* allowed object is* {@link Boolean }**/public void setAreBatteriesRequired(Boolean value) {this.areBatteriesRequired = value;}/*** Gets the value of the batterySubgroup property.** <p>* This accessor method returns a reference to the live list,* not a snapshot. Therefore any modification you make to the* returned list will be present inside the JAXB object.* This is why there is not a <CODE>set</CODE> method for the batterySubgroup property.** <p>* For example, to add a new item, do as follows:* <pre>* getBatterySubgroup().add(newItem);* </pre>*** <p>* Objects of the following type(s) are allowed in the list* {@link Battery.BatterySubgroup }***/public List<Battery.BatterySubgroup> getBatterySubgroup() {if (batterySubgroup == null) {batterySubgroup = new ArrayList<Battery.BatterySubgroup>();}return this.batterySubgroup;}/*** <p>Java class for anonymous complex type.** <p>The following schema fragment specifies the expected content contained within this class.** <pre>* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="BatteryType">* <simpleType>* <restriction base="{}StringNotNull">* <enumeration value="battery_type_2/3A"/>* <enumeration value="battery_type_4/3A"/>* <enumeration value="battery_type_4/5A"/>* <enumeration value="battery_type_9v"/>* <enumeration value="battery_type_12v"/>* <enumeration value="battery_type_a"/>* <enumeration value="battery_type_a76"/>* <enumeration value="battery_type_aa"/>* <enumeration value="battery_type_aaa"/>* <enumeration value="battery_type_aaaa"/>* <enumeration value="battery_type_c"/>* <enumeration value="battery_type_cr123a"/>* <enumeration value="battery_type_cr2"/>* <enumeration value="battery_type_cr5"/>* <enumeration value="battery_type_d"/>* <enumeration value="battery_type_lithium_ion"/>* <enumeration value="battery_type_lithium_metal"/>* <enumeration value="battery_type_L-SC"/>* <enumeration value="battery_type_p76"/>* <enumeration value="battery_type_product_specific"/>* <enumeration value="battery_type_SC"/>* </restriction>* </simpleType>* </element>* <element name="NumberOfBatteries" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = {"batteryType","numberOfBatteries"})public static class BatterySubgroup {@XmlElement(name = "BatteryType", required = true)@XmlJavaTypeAdapter(NormalizedStringAdapter.class)protected String batteryType;@XmlElement(name = "NumberOfBatteries", required = true)@XmlSchemaType(name = "positiveInteger")protected BigInteger numberOfBatteries;/*** Gets the value of the batteryType property.** @return* possible object is* {@link String }**/public String getBatteryType() {return batteryType;}/*** Sets the value of the batteryType property.** @param value* allowed object is* {@link String }**/public void setBatteryType(String value) {this.batteryType = value;}/*** Gets the value of the numberOfBatteries property.** @return* possible object is* {@link BigInteger }**/public BigInteger getNumberOfBatteries() {return numberOfBatteries;}/*** Sets the value of the numberOfBatteries property.** @param value* allowed object is* {@link BigInteger }**/public void setNumberOfBatteries(BigInteger value) {this.numberOfBatteries = value;}}}