SHORTESTROUTE.java
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.03.16 at 06:21:55 PM CET
//
package org.opentrafficsim.xml.generated;
import java.util.ArrayList;
import java.util.List;
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.XmlIDREF;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <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">
* <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="FROM" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
* <attribute name="TO" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
* <attribute name="VIA" type="{http://www.w3.org/2001/XMLSchema}IDREFS" />
* <attribute name="DISTANCECOST" use="required" type="{http://www.opentrafficsim.org/ots}DISTANCECOSTTYPE" />
* <attribute name="TIMECOST" use="required" type="{http://www.opentrafficsim.org/ots}TIMECOSTTYPE" />
* <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "SHORTESTROUTE")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public class SHORTESTROUTE {
@XmlAttribute(name = "NAME", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
protected String name;
@XmlAttribute(name = "FROM", required = true)
@XmlIDREF
@XmlSchemaType(name = "IDREF")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
protected Object from;
@XmlAttribute(name = "TO", required = true)
@XmlIDREF
@XmlSchemaType(name = "IDREF")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
protected Object to;
@XmlAttribute(name = "VIA")
@XmlIDREF
@XmlSchemaType(name = "IDREFS")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
protected List<Object> via;
@XmlAttribute(name = "DISTANCECOST", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
protected String distancecost;
@XmlAttribute(name = "TIMECOST", required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
protected String timecost;
@XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlSchemaType(name = "anyURI")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
protected String base;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public String getNAME() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public void setNAME(String value) {
this.name = value;
}
/**
* Gets the value of the from property.
*
* @return
* possible object is
* {@link Object }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public Object getFROM() {
return from;
}
/**
* Sets the value of the from property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public void setFROM(Object value) {
this.from = value;
}
/**
* Gets the value of the to property.
*
* @return
* possible object is
* {@link Object }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public Object getTO() {
return to;
}
/**
* Sets the value of the to property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public void setTO(Object value) {
this.to = value;
}
/**
* Gets the value of the via 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 via property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getVIA().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Object }
*
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public List<Object> getVIA() {
if (via == null) {
via = new ArrayList<Object>();
}
return this.via;
}
/**
* Gets the value of the distancecost property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public String getDISTANCECOST() {
return distancecost;
}
/**
* Sets the value of the distancecost property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public void setDISTANCECOST(String value) {
this.distancecost = value;
}
/**
* Gets the value of the timecost property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public String getTIMECOST() {
return timecost;
}
/**
* Sets the value of the timecost property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public void setTIMECOST(String value) {
this.timecost = value;
}
/**
* Gets the value of the base property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public String getBase() {
return base;
}
/**
* Sets the value of the base property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2019-03-16T06:21:55+01:00", comments = "JAXB RI v2.3.0")
public void setBase(String value) {
this.base = value;
}
}