Package org.opentrafficsim.xml.generated
Class OdOptions.OdOptionsItem
java.lang.Object
org.opentrafficsim.xml.generated.OdOptions.OdOptionsItem
- All Implemented Interfaces:
Serializable
- Enclosing class:
- OdOptions
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v2.3.7",
date="2024-08-29T18:50:16+02:00")
public static class OdOptions.OdOptionsItem
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> <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>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Java class for anonymous complex type.static class
Java class for anonymous complex type.static class
Java class for anonymous complex type.static class
Java class for anonymous complex type. -
Field Summary
Modifier and TypeFieldDescriptionprotected OdOptions.OdOptionsItem.DefaultModel
protected EmptyType
protected HeadwayDistributionType
protected LaneLinkType
protected OdOptions.OdOptionsItem.LaneBiases
protected StringType
protected OdOptions.OdOptionsItem.Markov
protected List<OdOptions.OdOptionsItem.Model>
protected LengthType
protected StringType
protected RoomCheckerType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the defaultModel property.Gets the value of the global property.Gets the value of the headwayDist property.getLane()
Gets the value of the lane property.Gets the value of the laneBiases property.Gets the value of the linkType property.Gets the value of the markov property.getModel()
Gets the value of the model property.Gets the value of the noLaneChange property.Gets the value of the origin property.Gets the value of the roomChecker property.void
Sets the value of the defaultModel property.void
Sets the value of the global property.void
Sets the value of the headwayDist property.void
setLane
(LaneLinkType value) Sets the value of the lane property.void
Sets the value of the laneBiases property.void
setLinkType
(StringType value) Sets the value of the linkType property.void
Sets the value of the markov property.void
setNoLaneChange
(LengthType value) Sets the value of the noLaneChange property.void
setOrigin
(StringType value) Sets the value of the origin property.void
setRoomChecker
(RoomCheckerType value) Sets the value of the roomChecker property.
-
Field Details
-
global
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected EmptyType global -
linkType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected StringType linkType -
origin
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected StringType origin -
lane
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected LaneLinkType lane -
defaultModel
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected OdOptions.OdOptionsItem.DefaultModel defaultModel -
model
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected List<OdOptions.OdOptionsItem.Model> model -
noLaneChange
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected LengthType noLaneChange -
roomChecker
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected RoomCheckerType roomChecker -
headwayDist
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected HeadwayDistributionType headwayDist -
markov
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected OdOptions.OdOptionsItem.Markov markov -
laneBiases
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected OdOptions.OdOptionsItem.LaneBiases laneBiases
-
-
Constructor Details
-
OdOptionsItem
public OdOptionsItem()
-
-
Method Details
-
getGlobal
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public EmptyType getGlobal()Gets the value of the global property.- Returns:
- possible object is
EmptyType
-
setGlobal
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setGlobal(EmptyType value) Sets the value of the global property.- Parameters:
value
- allowed object isEmptyType
-
getLinkType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public StringType getLinkType()Gets the value of the linkType property.- Returns:
- possible object is
String
-
setLinkType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setLinkType(StringType value) Sets the value of the linkType property.- Parameters:
value
- allowed object isString
-
getOrigin
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public StringType getOrigin()Gets the value of the origin property.- Returns:
- possible object is
String
-
setOrigin
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setOrigin(StringType value) Sets the value of the origin property.- Parameters:
value
- allowed object isString
-
getLane
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public LaneLinkType getLane()Gets the value of the lane property.- Returns:
- possible object is
LaneLinkType
-
setLane
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setLane(LaneLinkType value) Sets the value of the lane property.- Parameters:
value
- allowed object isLaneLinkType
-
getDefaultModel
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public OdOptions.OdOptionsItem.DefaultModel getDefaultModel()Gets the value of the defaultModel property.- Returns:
- possible object is
OdOptions.OdOptionsItem.DefaultModel
-
setDefaultModel
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setDefaultModel(OdOptions.OdOptionsItem.DefaultModel value) Sets the value of the defaultModel property.- Parameters:
value
- allowed object isOdOptions.OdOptionsItem.DefaultModel
-
getModel
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<OdOptions.OdOptionsItem.Model> getModel()Gets the value of the model 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
set
method for the model property.For example, to add a new item, do as follows:
getModel().add(newItem);
Objects of the following type(s) are allowed in the list
OdOptions.OdOptionsItem.Model
-
getNoLaneChange
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public LengthType getNoLaneChange()Gets the value of the noLaneChange property.- Returns:
- possible object is
String
-
setNoLaneChange
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setNoLaneChange(LengthType value) Sets the value of the noLaneChange property.- Parameters:
value
- allowed object isString
-
getRoomChecker
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public RoomCheckerType getRoomChecker()Gets the value of the roomChecker property.- Returns:
- possible object is
RoomCheckerType
-
setRoomChecker
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setRoomChecker(RoomCheckerType value) Sets the value of the roomChecker property.- Parameters:
value
- allowed object isRoomCheckerType
-
getHeadwayDist
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public HeadwayDistributionType getHeadwayDist()Gets the value of the headwayDist property.- Returns:
- possible object is
String
-
setHeadwayDist
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setHeadwayDist(HeadwayDistributionType value) Sets the value of the headwayDist property.- Parameters:
value
- allowed object isString
-
getMarkov
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public OdOptions.OdOptionsItem.Markov getMarkov()Gets the value of the markov property.- Returns:
- possible object is
OdOptions.OdOptionsItem.Markov
-
setMarkov
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setMarkov(OdOptions.OdOptionsItem.Markov value) Sets the value of the markov property.- Parameters:
value
- allowed object isOdOptions.OdOptionsItem.Markov
-
getLaneBiases
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public OdOptions.OdOptionsItem.LaneBiases getLaneBiases()Gets the value of the laneBiases property.- Returns:
- possible object is
OdOptions.OdOptionsItem.LaneBiases
-
setLaneBiases
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setLaneBiases(OdOptions.OdOptionsItem.LaneBiases value) Sets the value of the laneBiases property.- Parameters:
value
- allowed object isOdOptions.OdOptionsItem.LaneBiases
-