DEFINITIONS.java

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// 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: 2016.11.03 at 01:02:34 PM CET
//

package org.opentrafficsim.road.network.factory.vissim.xsd;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;

import org.opentrafficsim.road.network.factory.vissim.GTUTYPE;

/**
 * <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 ref="{http://www.opentrafficsim.org/ots}GLOBAL" minOccurs="0"/>
 *         &lt;choice maxOccurs="unbounded">
 *           &lt;element ref="{http://www.w3.org/2001/XInclude}include" maxOccurs="unbounded" minOccurs="0"/>
 *           &lt;element ref="{http://www.opentrafficsim.org/ots}GTUTYPE" maxOccurs="unbounded" minOccurs="0"/>
 *           &lt;element ref="{http://www.opentrafficsim.org/ots}GTU" maxOccurs="unbounded" minOccurs="0"/>
 *           &lt;element ref="{http://www.opentrafficsim.org/ots}GTUMIX" maxOccurs="unbounded" minOccurs="0"/>
 *           &lt;element ref="{http://www.opentrafficsim.org/ots}ROADTYPE" maxOccurs="unbounded" minOccurs="0"/>
 *           &lt;element ref="{http://www.opentrafficsim.org/ots}LANETYPE" maxOccurs="unbounded" minOccurs="0"/>
 *           &lt;element ref="{http://www.opentrafficsim.org/ots}ROADLAYOUT" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;/choice>
 *       &lt;/sequence>
 *       &lt;attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "content" })
@XmlRootElement(name = "DEFINITIONS")
public class DEFINITIONS
{

    @XmlElementRefs({
            @XmlElementRef(name = "LANETYPE", namespace = "http://www.opentrafficsim.org/ots", type = LANETYPE.class,
                    required = false),
            @XmlElementRef(name = "GTUTYPE", namespace = "http://www.opentrafficsim.org/ots", type = GTUTYPE.class,
                    required = false),
            @XmlElementRef(name = "GTU", namespace = "http://www.opentrafficsim.org/ots", type = GTU.class, required = false),
            @XmlElementRef(name = "ROADTYPE", namespace = "http://www.opentrafficsim.org/ots", type = ROADTYPE.class,
                    required = false),
            @XmlElementRef(name = "ROADLAYOUT", namespace = "http://www.opentrafficsim.org/ots", type = ROADLAYOUT.class,
                    required = false),
            @XmlElementRef(name = "include", namespace = "http://www.w3.org/2001/XInclude", type = JAXBElement.class,
                    required = false),
            @XmlElementRef(name = "GLOBAL", namespace = "http://www.opentrafficsim.org/ots", type = GLOBAL.class,
                    required = false),
            @XmlElementRef(name = "GTUMIX", namespace = "http://www.opentrafficsim.org/ots", type = GTUMIX.class,
                    required = false) })
    @XmlMixed
    protected List<Object> content;

    @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
    @XmlSchemaType(name = "anyURI")
    protected String base;

    /**
     * Gets the value of the content 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 content
     * property.
     * <p>
     * For example, to add a new item, do as follows:
     *
     * <pre>
     * getContent().add(newItem);
     * </pre>
     * <p>
     * Objects of the following type(s) are allowed in the list {@link String } {@link LANETYPE } {@link GTUTYPE } {@link GTU }
     * {@link ROADTYPE } {@link ROADLAYOUT } {@link JAXBElement }{@code <}{@link IncludeType }{@code >} {@link GLOBAL }
     * {@link GTUMIX }
     */
    public List<Object> getContent()
    {
        if (content == null)
        {
            content = new ArrayList<Object>();
        }
        return this.content;
    }

    /**
     * Gets the value of the base property.
     * @return possible object is {@link String }
     */
    public String getBase()
    {
        return base;
    }

    /**
     * Sets the value of the base property.
     * @param value String; allowed object is {@link String }
     */
    public void setBase(String value)
    {
        this.base = value;
    }

}