Ots.java
- //
- // This file was generated by the Eclipse Implementation of JAXB, v2.3.7
- // See https://eclipse-ee4j.github.io/jaxb-ri
- // Any modifications to this file will be lost upon recompilation of the source schema.
- // Generated on: 2024.05.19 at 03:25:58 AM CEST
- //
- package org.opentrafficsim.xml.generated;
- import java.io.Serializable;
- import javax.annotation.Generated;
- import javax.xml.bind.annotation.XmlAccessType;
- import javax.xml.bind.annotation.XmlAccessorType;
- import javax.xml.bind.annotation.XmlAttribute;
- import javax.xml.bind.annotation.XmlElement;
- import javax.xml.bind.annotation.XmlRootElement;
- import javax.xml.bind.annotation.XmlType;
- import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
- import org.opentrafficsim.xml.bindings.SpaceAdapter;
- import org.opentrafficsim.xml.bindings.types.StringType;
- /**
- * <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 ref="{http://www.opentrafficsim.org/ots}Definitions"/>
- * <element ref="{http://www.opentrafficsim.org/ots}Network"/>
- * <element ref="{http://www.opentrafficsim.org/ots}Demand" minOccurs="0"/>
- * <element ref="{http://www.opentrafficsim.org/ots}Control" minOccurs="0"/>
- * <element ref="{http://www.opentrafficsim.org/ots}Models" minOccurs="0"/>
- * <element ref="{http://www.opentrafficsim.org/ots}Scenarios" minOccurs="0"/>
- * <element ref="{http://www.opentrafficsim.org/ots}Run"/>
- * <element ref="{http://www.opentrafficsim.org/ots}Animation" minOccurs="0"/>
- * </sequence>
- * <attribute name="Space" type="{http://www.opentrafficsim.org/ots}space" default="preserve" />
- * </restriction>
- * </complexContent>
- * </complexType>
- * </pre>
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "definitions",
- "network",
- "demand",
- "control",
- "models",
- "scenarios",
- "run",
- "animation"
- })
- @XmlRootElement(name = "Ots")
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public class Ots
- implements Serializable
- {
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- private final static long serialVersionUID = 10102L;
- @XmlElement(name = "Definitions", required = true)
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- protected Definitions definitions;
- @XmlElement(name = "Network", required = true)
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- protected Network network;
- @XmlElement(name = "Demand")
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- protected Demand demand;
- @XmlElement(name = "Control")
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- protected Control control;
- @XmlElement(name = "Models")
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- protected Models models;
- @XmlElement(name = "Scenarios")
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- protected Scenarios scenarios;
- @XmlElement(name = "Run", required = true)
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- protected Run run;
- @XmlElement(name = "Animation")
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- protected Animation animation;
- @XmlAttribute(name = "Space")
- @XmlJavaTypeAdapter(SpaceAdapter.class)
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- protected StringType space;
- /**
- * Gets the value of the definitions property.
- *
- * @return
- * possible object is
- * {@link Definitions }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public Definitions getDefinitions() {
- return definitions;
- }
- /**
- * Sets the value of the definitions property.
- *
- * @param value
- * allowed object is
- * {@link Definitions }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public void setDefinitions(Definitions value) {
- this.definitions = value;
- }
- /**
- * Gets the value of the network property.
- *
- * @return
- * possible object is
- * {@link Network }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public Network getNetwork() {
- return network;
- }
- /**
- * Sets the value of the network property.
- *
- * @param value
- * allowed object is
- * {@link Network }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public void setNetwork(Network value) {
- this.network = value;
- }
- /**
- * Gets the value of the demand property.
- *
- * @return
- * possible object is
- * {@link Demand }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public Demand getDemand() {
- return demand;
- }
- /**
- * Sets the value of the demand property.
- *
- * @param value
- * allowed object is
- * {@link Demand }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public void setDemand(Demand value) {
- this.demand = value;
- }
- /**
- * Gets the value of the control property.
- *
- * @return
- * possible object is
- * {@link Control }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public Control getControl() {
- return control;
- }
- /**
- * Sets the value of the control property.
- *
- * @param value
- * allowed object is
- * {@link Control }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public void setControl(Control value) {
- this.control = value;
- }
- /**
- * Gets the value of the models property.
- *
- * @return
- * possible object is
- * {@link Models }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public Models getModels() {
- return models;
- }
- /**
- * Sets the value of the models property.
- *
- * @param value
- * allowed object is
- * {@link Models }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public void setModels(Models value) {
- this.models = value;
- }
- /**
- * Gets the value of the scenarios property.
- *
- * @return
- * possible object is
- * {@link Scenarios }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public Scenarios getScenarios() {
- return scenarios;
- }
- /**
- * Sets the value of the scenarios property.
- *
- * @param value
- * allowed object is
- * {@link Scenarios }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public void setScenarios(Scenarios value) {
- this.scenarios = value;
- }
- /**
- * Gets the value of the run property.
- *
- * @return
- * possible object is
- * {@link Run }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public Run getRun() {
- return run;
- }
- /**
- * Sets the value of the run property.
- *
- * @param value
- * allowed object is
- * {@link Run }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public void setRun(Run value) {
- this.run = value;
- }
- /**
- * Gets the value of the animation property.
- *
- * @return
- * possible object is
- * {@link Animation }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public Animation getAnimation() {
- return animation;
- }
- /**
- * Sets the value of the animation property.
- *
- * @param value
- * allowed object is
- * {@link Animation }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public void setAnimation(Animation value) {
- this.animation = value;
- }
- /**
- * Gets the value of the space property.
- *
- * @return
- * possible object is
- * {@link String }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public StringType getSpace() {
- if (space == null) {
- return new SpaceAdapter().unmarshal("preserve");
- } else {
- return space;
- }
- }
- /**
- * Sets the value of the space property.
- *
- * @param value
- * allowed object is
- * {@link String }
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
- public void setSpace(StringType value) {
- this.space = value;
- }
- }