Class GTUMIX
java.lang.Object
org.opentrafficsim.road.network.factory.vissim.xsd.GTUMIX
public class GTUMIX extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="GTU" maxOccurs="unbounded">
<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="WEIGHT" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="NAME" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute ref="{http://www.w3.org/XML/1998/namespace}base"/>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGTUMIX.GTUJava class for anonymous complex type. -
Field Summary
-
Constructor Summary
Constructors Constructor Description GTUMIX() -
Method Summary
Modifier and Type Method Description StringgetBase()Gets the value of the base property.List<GTUMIX.GTU>getGTU()Gets the value of the gtu property.StringgetNAME()Gets the value of the name property.voidsetBase(String value)Sets the value of the base property.voidsetNAME(String value)Sets the value of the name property.
-
Field Details
-
Constructor Details
-
GTUMIX
public GTUMIX()
-
-
Method Details
-
getGTU
Gets the value of the gtu property.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
setmethod for the gtu property.For example, to add a new item, do as follows:
getGTU().add(newItem);
Objects of the following type(s) are allowed in the list
GTUMIX.GTU -
getNAME
Gets the value of the name property.- Returns:
- possible object is
String
-
setNAME
Sets the value of the name property.- Parameters:
value- String; allowed object isString
-
getBase
Gets the value of the base property.- Returns:
- possible object is
String
-
setBase
Sets the value of the base property.- Parameters:
value- String; allowed object isString
-