SHORTESTROUTE.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.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")
public class SHORTESTROUTE
{
@XmlAttribute(name = "NAME", required = true)
protected String name;
@XmlAttribute(name = "FROM", required = true)
@XmlIDREF
@XmlSchemaType(name = "IDREF")
protected Object from;
@XmlAttribute(name = "TO", required = true)
@XmlIDREF
@XmlSchemaType(name = "IDREF")
protected Object to;
@XmlAttribute(name = "VIA")
@XmlIDREF
@XmlSchemaType(name = "IDREFS")
protected List<Object> via;
@XmlAttribute(name = "DISTANCECOST", required = true)
protected String distancecost;
@XmlAttribute(name = "TIMECOST", required = true)
protected String timecost;
@XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace")
@XmlSchemaType(name = "anyURI")
protected String base;
/**
* Gets the value of the name property.
* @return possible object is {@link String }
*/
public String getNAME()
{
return name;
}
/**
* Sets the value of the name property.
* @param value String; allowed object is {@link String }
*/
public void setNAME(String value)
{
this.name = value;
}
/**
* Gets the value of the from property.
* @return possible object is {@link Object }
*/
public Object getFROM()
{
return from;
}
/**
* Sets the value of the from property.
* @param value Object; allowed object is {@link Object }
*/
public void setFROM(Object value)
{
this.from = value;
}
/**
* Gets the value of the to property.
* @return possible object is {@link Object }
*/
public Object getTO()
{
return to;
}
/**
* Sets the value of the to property.
* @param value Object; allowed object is {@link Object }
*/
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 }
*/
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 }
*/
public String getDISTANCECOST()
{
return distancecost;
}
/**
* Sets the value of the distancecost property.
* @param value String; allowed object is {@link String }
*/
public void setDISTANCECOST(String value)
{
this.distancecost = value;
}
/**
* Gets the value of the timecost property.
* @return possible object is {@link String }
*/
public String getTIMECOST()
{
return timecost;
}
/**
* Sets the value of the timecost property.
* @param value String; allowed object is {@link String }
*/
public void setTIMECOST(String value)
{
this.timecost = value;
}
/**
* 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;
}
}