Package org.opentrafficsim.xml.generated
Class GtuTemplateMix
java.lang.Object
org.opentrafficsim.xml.generated.GtuTemplateMix
- All Implemented Interfaces:
Serializable
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v2.3.7",
date="2024-08-29T18:50:16+02:00")
public class GtuTemplateMix
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="GtuTemplate" maxOccurs="unbounded"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /> <attribute name="Weight" use="required" type="{http://www.opentrafficsim.org/ots}DoublePositiveInclusive" /> </restriction> </complexContent> </complexType> </element> <element name="RandomStream" type="{http://www.opentrafficsim.org/ots}RandomStreamSource" minOccurs="0"/> </sequence> <attribute name="Id" use="required" type="{http://www.opentrafficsim.org/ots}IdType" /> </restriction> </complexContent> </complexType>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Java class for anonymous complex type. -
Field Summary
Modifier and TypeFieldDescriptionprotected List<GtuTemplateMix.GtuTemplate>
protected String
protected RandomStreamSource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the gtuTemplate property.getId()
Gets the value of the id property.Gets the value of the randomStream property.void
Sets the value of the id property.void
Sets the value of the randomStream property.
-
Field Details
-
gtuTemplate
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected List<GtuTemplateMix.GtuTemplate> gtuTemplate -
randomStream
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected RandomStreamSource randomStream -
id
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected String id
-
-
Constructor Details
-
GtuTemplateMix
public GtuTemplateMix()
-
-
Method Details
-
getGtuTemplate
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<GtuTemplateMix.GtuTemplate> getGtuTemplate()Gets the value of the gtuTemplate 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 gtuTemplate property.For example, to add a new item, do as follows:
getGtuTemplate().add(newItem);
Objects of the following type(s) are allowed in the list
GtuTemplateMix.GtuTemplate
-
getRandomStream
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public RandomStreamSource getRandomStream()Gets the value of the randomStream property.- Returns:
- possible object is
RandomStreamSource
-
setRandomStream
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setRandomStream(RandomStreamSource value) Sets the value of the randomStream property.- Parameters:
value
- allowed object isRandomStreamSource
-
getId
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+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-08-29T18:50:16+02:00") public void setId(String value) Sets the value of the id property.- Parameters:
value
- allowed object isString
-