Package org.opentrafficsim.xml.generated
Class OdOptions
java.lang.Object
org.opentrafficsim.xml.generated.OdOptions
- All Implemented Interfaces:
Serializable
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v2.3.7",
date="2024-05-19T03:25:58+02:00")
public class OdOptions
extends Object
implements Serializable
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="OdOptionsItem" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="Global" type="{http://www.opentrafficsim.org/ots}EmptyType"/>
<element name="LinkType" type="{http://www.opentrafficsim.org/ots}string"/>
<element name="Origin" type="{http://www.opentrafficsim.org/ots}string"/>
<element name="Lane" type="{http://www.opentrafficsim.org/ots}LaneLinkType"/>
</choice>
<element name="DefaultModel" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="Id" type="{http://www.opentrafficsim.org/ots}string"/>
<element name="ModelIdReferral" type="{http://www.opentrafficsim.org/ots}string"/>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="Model" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="Id" type="{http://www.opentrafficsim.org/ots}string"/>
<element name="ModelIdReferral" type="{http://www.opentrafficsim.org/ots}string"/>
</choice>
<attribute name="GtuType" use="required" type="{http://www.opentrafficsim.org/ots}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="NoLaneChange" type="{http://www.opentrafficsim.org/ots}PositiveLengthType" minOccurs="0"/>
<element name="RoomChecker" type="{http://www.opentrafficsim.org/ots}RoomCheckerType" minOccurs="0"/>
<element name="HeadwayDist" minOccurs="0">
<simpleType>
<union memberTypes=" {http://www.opentrafficsim.org/ots}Expression">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="CONSTANT"/>
<enumeration value="EXPONENTIAL"/>
<enumeration value="UNIFORM"/>
<enumeration value="TRIANGULAR"/>
<enumeration value="TRI_EXP"/>
<enumeration value="LOGNORMAL"/>
</restriction>
</simpleType>
</union>
</simpleType>
</element>
<element name="Markov" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="State" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="GtuType" use="required" type="{http://www.opentrafficsim.org/ots}string" />
<attribute name="Parent" type="{http://www.opentrafficsim.org/ots}string" />
<attribute name="Correlation" use="required" type="{http://www.opentrafficsim.org/ots}double" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="LaneBiases" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://www.opentrafficsim.org/ots}LaneBias"/>
<element name="DefinedLaneBias">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="GtuType" use="required" type="{http://www.opentrafficsim.org/ots}string" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="Id" type="{http://www.opentrafficsim.org/ots}IdType" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the value of the id property.Gets the value of the odOptionsItem property.voidSets the value of the id property.
-
Field Details
-
odOptionsItem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected List<OdOptions.OdOptionsItem> odOptionsItem -
id
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") protected String id
-
-
Constructor Details
-
OdOptions
public OdOptions()
-
-
Method Details
-
getOdOptionsItem
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") public List<OdOptions.OdOptionsItem> getOdOptionsItem()Gets the value of the odOptionsItem 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 odOptionsItem property.For example, to add a new item, do as follows:
getOdOptionsItem().add(newItem);Objects of the following type(s) are allowed in the list
OdOptions.OdOptionsItem -
getId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") public String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-05-19T03:25:58+02:00") public void setId(String value) Sets the value of the id property.- Parameters:
value- allowed object isString
-