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="GTU" maxOccurs="unbounded"> 33 * <complexType> 34 * <complexContent> 35 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 36 * <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 37 * <attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> 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 ref="{http://www.w3.org/XML/1998/namespace}base"/> 45 * </restriction> 46 * </complexContent> 47 * </complexType> 48 * </pre> 49 */ 50 @XmlAccessorType(XmlAccessType.FIELD) 51 @XmlType(name = "", propOrder = {"gtu"}) 52 @XmlRootElement(name = "GTUMIX") 53 public class GTUMIX 54 { 55 56 @XmlElement(name = "GTU", required = true) 57 protected List<GTUMIX.GTU> gtu; 58 59 @XmlAttribute(name = "NAME", required = true) 60 protected String name; 61 62 @XmlAttribute(name = "base", namespace = "http://www.w3.org/XML/1998/namespace") 63 @XmlSchemaType(name = "anyURI") 64 protected String base; 65 66 /** 67 * Gets the value of the gtu property. 68 * <p> 69 * This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the 70 * returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the gtu 71 * property. 72 * <p> 73 * For example, to add a new item, do as follows: 74 * 75 * <pre> 76 * getGTU().add(newItem); 77 * </pre> 78 * <p> 79 * Objects of the following type(s) are allowed in the list {@link GTUMIX.GTU } 80 */ 81 public List<GTUMIX.GTU> getGTU() 82 { 83 if (gtu == null) 84 { 85 gtu = new ArrayList<GTUMIX.GTU>(); 86 } 87 return this.gtu; 88 } 89 90 /** 91 * Gets the value of the name property. 92 * @return possible object is {@link String } 93 */ 94 public String getNAME() 95 { 96 return name; 97 } 98 99 /** 100 * Sets the value of the name property. 101 * @param value String; allowed object is {@link String } 102 */ 103 public void setNAME(String value) 104 { 105 this.name = value; 106 } 107 108 /** 109 * Gets the value of the base property. 110 * @return possible object is {@link String } 111 */ 112 public String getBase() 113 { 114 return base; 115 } 116 117 /** 118 * Sets the value of the base property. 119 * @param value String; allowed object is {@link String } 120 */ 121 public void setBase(String value) 122 { 123 this.base = value; 124 } 125 126 /** 127 * <p> 128 * Java class for anonymous complex type. 129 * <p> 130 * The following schema fragment specifies the expected content contained within this class. 131 * 132 * <pre> 133 * <complexType> 134 * <complexContent> 135 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 136 * <attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 137 * <attribute name="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> 138 * </restriction> 139 * </complexContent> 140 * </complexType> 141 * </pre> 142 */ 143 @XmlAccessorType(XmlAccessType.FIELD) 144 @XmlType(name = "") 145 public static class GTU 146 { 147 148 @XmlAttribute(name = "NAME", required = true) 149 protected String name; 150 151 @XmlAttribute(name = "WEIGHT", required = true) 152 protected double weight; 153 154 /** 155 * Gets the value of the name property. 156 * @return possible object is {@link String } 157 */ 158 public String getNAME() 159 { 160 return name; 161 } 162 163 /** 164 * Sets the value of the name property. 165 * @param value String; allowed object is {@link String } 166 */ 167 public void setNAME(String value) 168 { 169 this.name = value; 170 } 171 172 /** 173 * Gets the value of the weight property. 174 */ 175 public double getWEIGHT() 176 { 177 return weight; 178 } 179 180 /** 181 * Sets the value of the weight property. 182 */ 183 public void setWEIGHT(double value) 184 { 185 this.weight = value; 186 } 187 188 } 189 190 }