
package com.android.repository.impl.sources.generated.v1;

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.XmlType;
import com.android.repository.api.RemoteSource;


/**
 * DO NOT EDIT
 * This file was generated by xjc from repo-sites-common-1.xsd. Any changes will be lost upon recompilation of the schema.
 * See the schema file for instructions on running xjc.
 * 
 * 
 *                 A simple list of add-ons site.
 *             
 * 
 * <p>Java class for siteListType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="siteListType"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;choice maxOccurs="unbounded" minOccurs="0"&gt;
 *         &lt;element name="site" type="{http://schemas.android.com/repository/android/sites-common/1}siteType"/&gt;
 *       &lt;/choice&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "siteListType", propOrder = {
    "site"
})
@SuppressWarnings({
    "override",
    "unchecked"
})
public class SiteListType
    extends com.android.repository.impl.sources.RemoteListSourceProviderImpl.SiteList
{

    protected List<SiteType> site;

    /**
     * Gets the value of the site 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 site property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getSite().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link SiteType }
     * 
     * 
     */
    public List<SiteType> getSiteInternal() {
        if (site == null) {
            site = new ArrayList<SiteType>();
        }
        return this.site;
    }

    public List<RemoteSource> getSite() {
        return ((List) getSiteInternal());
    }

    public ObjectFactory createFactory() {
        return new ObjectFactory();
    }

}
