1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2016.11.03 at 01:02:34 PM CET 6 // 7 8 package org.opentrafficsim.road.network.factory.vissim.xsd; 9 10 import java.util.ArrayList; 11 import java.util.List; 12 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlAttribute; 16 import javax.xml.bind.annotation.XmlIDREF; 17 import javax.xml.bind.annotation.XmlRootElement; 18 import javax.xml.bind.annotation.XmlSchemaType; 19 import javax.xml.bind.annotation.XmlType; 20 21 /** 22 * <p> 23 * Java class for anonymous complex type. 24 * <p> 25 * The following schema fragment specifies the expected content contained within this class. 26 * 27 * <pre> 28 * <complexType> 29 * <complexContent> 30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 31 * <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 32 * <attribute name="FROM" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> 33 * <attribute name="TO" use="required" type="{http://www.w3.org/2001/XMLSchema}IDREF" /> 34 * <attribute name="VIA" type="{http://www.w3.org/2001/XMLSchema}IDREFS" /> 35 * <attribute name="DISTANCECOST" use="required" type="{http://www.opentrafficsim.org/ots}DISTANCECOSTTYPE" /> 36 * <attribute name="TIMECOST" use="required" type="{http://www.opentrafficsim.org/ots}TIMECOSTTYPE" /> 37 * <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/> 38 * </restriction> 39 * </complexContent> 40 * </complexType> 41 * </pre> 42 */ 43 @XmlAccessorType(XmlAccessType.FIELD) 44 @XmlType(name = "") 45 @XmlRootElement(name = "SHORTESTROUTE") 46 public class SHORTESTROUTE 47 { 48 49 @XmlAttribute(name = "NAME", required = true) 50 protected String name; 51 52 @XmlAttribute(name = "FROM", required = true) 53 @XmlIDREF 54 @XmlSchemaType(name = "IDREF") 55 protected Object from; 56 57 @XmlAttribute(name = "TO", required = true) 58 @XmlIDREF 59 @XmlSchemaType(name = "IDREF") 60 protected Object to; 61 62 @XmlAttribute(name = "VIA") 63 @XmlIDREF 64 @XmlSchemaType(name = "IDREFS") 65 protected List<Object> via; 66 67 @XmlAttribute(name = "DISTANCECOST", required = true) 68 protected String distancecost; 69 70 @XmlAttribute(name = "TIMECOST", required = true) 71 protected String timecost; 72 73 @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace") 74 @XmlSchemaType(name = "anyURI") 75 protected String base; 76 77 /** 78 * Gets the value of the name property. 79 * @return possible object is {@link String } 80 */ 81 public String getNAME() 82 { 83 return name; 84 } 85 86 /** 87 * Sets the value of the name property. 88 * @param value String; allowed object is {@link String } 89 */ 90 public void setNAME(String value) 91 { 92 this.name = value; 93 } 94 95 /** 96 * Gets the value of the from property. 97 * @return possible object is {@link Object } 98 */ 99 public Object getFROM() 100 { 101 return from; 102 } 103 104 /** 105 * Sets the value of the from property. 106 * @param value Object; allowed object is {@link Object } 107 */ 108 public void setFROM(Object value) 109 { 110 this.from = value; 111 } 112 113 /** 114 * Gets the value of the to property. 115 * @return possible object is {@link Object } 116 */ 117 public Object getTO() 118 { 119 return to; 120 } 121 122 /** 123 * Sets the value of the to property. 124 * @param value Object; allowed object is {@link Object } 125 */ 126 public void setTO(Object value) 127 { 128 this.to = value; 129 } 130 131 /** 132 * Gets the value of the via property. 133 * <p> 134 * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the 135 * returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the via 136 * property. 137 * <p> 138 * For example, to add a new item, do as follows: 139 * 140 * <pre> 141 * getVIA().add(newItem); 142 * </pre> 143 * <p> 144 * Objects of the following type(s) are allowed in the list {@link Object } 145 */ 146 public List<Object> getVIA() 147 { 148 if (via == null) 149 { 150 via = new ArrayList<Object>(); 151 } 152 return this.via; 153 } 154 155 /** 156 * Gets the value of the distancecost property. 157 * @return possible object is {@link String } 158 */ 159 public String getDISTANCECOST() 160 { 161 return distancecost; 162 } 163 164 /** 165 * Sets the value of the distancecost property. 166 * @param value String; allowed object is {@link String } 167 */ 168 public void setDISTANCECOST(String value) 169 { 170 this.distancecost = value; 171 } 172 173 /** 174 * Gets the value of the timecost property. 175 * @return possible object is {@link String } 176 */ 177 public String getTIMECOST() 178 { 179 return timecost; 180 } 181 182 /** 183 * Sets the value of the timecost property. 184 * @param value String; allowed object is {@link String } 185 */ 186 public void setTIMECOST(String value) 187 { 188 this.timecost = value; 189 } 190 191 /** 192 * Gets the value of the base property. 193 * @return possible object is {@link String } 194 */ 195 public String getBase() 196 { 197 return base; 198 } 199 200 /** 201 * Sets the value of the base property. 202 * @param value String; allowed object is {@link String } 203 */ 204 public void setBase(String value) 205 { 206 this.base = value; 207 } 208 209 }