Subversion Repositories SmartDukaan

Rev

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>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="AreBatteriesIncluded" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="AreBatteriesRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="BatterySubgroup" maxOccurs="3" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="BatteryType">
 *                     &lt;simpleType>
 *                       &lt;restriction base="{}StringNotNull">
 *                         &lt;enumeration value="battery_type_2/3A"/>
 *                         &lt;enumeration value="battery_type_4/3A"/>
 *                         &lt;enumeration value="battery_type_4/5A"/>
 *                         &lt;enumeration value="battery_type_9v"/>
 *                         &lt;enumeration value="battery_type_12v"/>
 *                         &lt;enumeration value="battery_type_a"/>
 *                         &lt;enumeration value="battery_type_a76"/>
 *                         &lt;enumeration value="battery_type_aa"/>
 *                         &lt;enumeration value="battery_type_aaa"/>
 *                         &lt;enumeration value="battery_type_aaaa"/>
 *                         &lt;enumeration value="battery_type_c"/>
 *                         &lt;enumeration value="battery_type_cr123a"/>
 *                         &lt;enumeration value="battery_type_cr2"/>
 *                         &lt;enumeration value="battery_type_cr5"/>
 *                         &lt;enumeration value="battery_type_d"/>
 *                         &lt;enumeration value="battery_type_lithium_ion"/>
 *                         &lt;enumeration value="battery_type_lithium_metal"/>
 *                         &lt;enumeration value="battery_type_L-SC"/>
 *                         &lt;enumeration value="battery_type_p76"/>
 *                         &lt;enumeration value="battery_type_product_specific"/>
 *                         &lt;enumeration value="battery_type_SC"/>
 *                       &lt;/restriction>
 *                     &lt;/simpleType>
 *                   &lt;/element>
 *                   &lt;element name="NumberOfBatteries" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/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>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="BatteryType">
     *           &lt;simpleType>
     *             &lt;restriction base="{}StringNotNull">
     *               &lt;enumeration value="battery_type_2/3A"/>
     *               &lt;enumeration value="battery_type_4/3A"/>
     *               &lt;enumeration value="battery_type_4/5A"/>
     *               &lt;enumeration value="battery_type_9v"/>
     *               &lt;enumeration value="battery_type_12v"/>
     *               &lt;enumeration value="battery_type_a"/>
     *               &lt;enumeration value="battery_type_a76"/>
     *               &lt;enumeration value="battery_type_aa"/>
     *               &lt;enumeration value="battery_type_aaa"/>
     *               &lt;enumeration value="battery_type_aaaa"/>
     *               &lt;enumeration value="battery_type_c"/>
     *               &lt;enumeration value="battery_type_cr123a"/>
     *               &lt;enumeration value="battery_type_cr2"/>
     *               &lt;enumeration value="battery_type_cr5"/>
     *               &lt;enumeration value="battery_type_d"/>
     *               &lt;enumeration value="battery_type_lithium_ion"/>
     *               &lt;enumeration value="battery_type_lithium_metal"/>
     *               &lt;enumeration value="battery_type_L-SC"/>
     *               &lt;enumeration value="battery_type_p76"/>
     *               &lt;enumeration value="battery_type_product_specific"/>
     *               &lt;enumeration value="battery_type_SC"/>
     *             &lt;/restriction>
     *           &lt;/simpleType>
     *         &lt;/element>
     *         &lt;element name="NumberOfBatteries" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/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;
        }

    }

}