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.XmlElement; 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 * <sequence> 32 * <element name="SPEEDLIMIT" maxOccurs="unbounded"> 33 * <complexType> 34 * <complexContent> 35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 36 * <attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 37 * <attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" /> 38 * </restriction> 39 * </complexContent> 40 * </complexType> 41 * </element> 42 * </sequence> 43 * <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 44 * <attribute name="DEFAULTLANEWIDTH" type="{http://www.opentrafficsim.org/ots}LENGTHTYPE" /> 45 * <attribute name="DEFAULTLANEKEEPING" type="{http://www.opentrafficsim.org/ots}LANEKEEPINGTYPE" /> 46 * <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/> 47 * </restriction> 48 * </complexContent> 49 * </complexType> 50 * </pre> 51 */ 52 @XmlAccessorType(XmlAccessType.FIELD) 53 @XmlType(name = "", propOrder = {"speedlimit"}) 54 @XmlRootElement(name = "LANETYPE") 55 public class LANETYPE 56 { 57 58 @XmlElement(name = "SPEEDLIMIT", required = true) 59 protected List<LANETYPE.SPEEDLIMIT> speedlimit; 60 61 @XmlAttribute(name = "NAME", required = true) 62 protected String name; 63 64 @XmlAttribute(name = "DEFAULTLANEWIDTH") 65 protected String defaultlanewidth; 66 67 @XmlAttribute(name = "DEFAULTLANEKEEPING") 68 protected String defaultlanekeeping; 69 70 @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace") 71 @XmlSchemaType(name = "anyURI") 72 protected String base; 73 74 /** 75 * Gets the value of the speedlimit property. 76 * <p> 77 * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the 78 * returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the 79 * speedlimit property. 80 * <p> 81 * For example, to add a new item, do as follows: 82 * 83 * <pre> 84 * getSPEEDLIMIT().add(newItem); 85 * </pre> 86 * <p> 87 * Objects of the following type(s) are allowed in the list {@link LANETYPE.SPEEDLIMIT } 88 */ 89 /** 90 * @return the speedlimit 91 */ 92 public List<LANETYPE.SPEEDLIMIT> getSPEEDLIMIT() 93 { 94 if (speedlimit == null) 95 { 96 speedlimit = new ArrayList<LANETYPE.SPEEDLIMIT>(); 97 } 98 return this.speedlimit; 99 } 100 101 /** 102 * Gets the value of the name property. 103 * @return possible object is {@link String } 104 */ 105 public String getNAME() 106 { 107 return name; 108 } 109 110 /** 111 * Sets the value of the name property. 112 * @param value String; allowed object is {@link String } 113 */ 114 public void setNAME(String value) 115 { 116 this.name = value; 117 } 118 119 /** 120 * Gets the value of the defaultlanewidth property. 121 * @return possible object is {@link String } 122 */ 123 public String getDEFAULTLANEWIDTH() 124 { 125 return defaultlanewidth; 126 } 127 128 /** 129 * Sets the value of the defaultlanewidth property. 130 * @param value String; allowed object is {@link String } 131 */ 132 public void setDEFAULTLANEWIDTH(String value) 133 { 134 this.defaultlanewidth = value; 135 } 136 137 /** 138 * Gets the value of the defaultlanekeeping property. 139 * @return possible object is {@link String } 140 */ 141 public String getDEFAULTLANEKEEPING() 142 { 143 return defaultlanekeeping; 144 } 145 146 /** 147 * Sets the value of the defaultlanekeeping property. 148 * @param value String; allowed object is {@link String } 149 */ 150 public void setDEFAULTLANEKEEPING(String value) 151 { 152 this.defaultlanekeeping = value; 153 } 154 155 /** 156 * Gets the value of the base property. 157 * @return possible object is {@link String } 158 */ 159 public String getBase() 160 { 161 return base; 162 } 163 164 /** 165 * Sets the value of the base property. 166 * @param value String; allowed object is {@link String } 167 */ 168 public void setBase(String value) 169 { 170 this.base = value; 171 } 172 173 /** 174 * <p> 175 * Java class for anonymous complex type. 176 * <p> 177 * The following schema fragment specifies the expected content contained within this class. 178 * 179 * <pre> 180 * <complexType> 181 * <complexContent> 182 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 183 * <attribute name="GTUTYPE" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 184 * <attribute name="LEGALSPEEDLIMIT" type="{http://www.opentrafficsim.org/ots}SPEEDTYPE" /> 185 * </restriction> 186 * </complexContent> 187 * </complexType> 188 * </pre> 189 */ 190 @XmlAccessorType(XmlAccessType.FIELD) 191 @XmlType(name = "") 192 public static class SPEEDLIMIT 193 { 194 195 @XmlAttribute(name = "GTUTYPE", required = true) 196 protected String gtutype; 197 198 @XmlAttribute(name = "LEGALSPEEDLIMIT") 199 protected String legalspeedlimit; 200 201 /** 202 * Gets the value of the gtutype property. 203 * @return possible object is {@link String } 204 */ 205 public String getGTUTYPE() 206 { 207 return gtutype; 208 } 209 210 /** 211 * Sets the value of the gtutype property. 212 * @param value String; allowed object is {@link String } 213 */ 214 public void setGTUTYPE(String value) 215 { 216 this.gtutype = value; 217 } 218 219 /** 220 * Gets the value of the legalspeedlimit property. 221 * @return possible object is {@link String } 222 */ 223 public String getLEGALSPEEDLIMIT() 224 { 225 return legalspeedlimit; 226 } 227 228 /** 229 * Sets the value of the legalspeedlimit property. 230 * @param value String; allowed object is {@link String } 231 */ 232 public void setLEGALSPEEDLIMIT(String value) 233 { 234 this.legalspeedlimit = value; 235 } 236 237 } 238 239 }