Class Scenarios

java.lang.Object
org.opentrafficsim.xml.generated.Scenarios
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 Scenarios 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="DefaultInputParameters" type="{http://www.opentrafficsim.org/ots}InputParameters" minOccurs="0"/>
         <element name="Scenario" type="{http://www.opentrafficsim.org/ots}ScenarioType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • defaultInputParameters

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected InputParameters defaultInputParameters
    • scenario

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected List<ScenarioType> scenario
  • Constructor Details

    • Scenarios

      public Scenarios()
  • Method Details

    • getDefaultInputParameters

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public InputParameters getDefaultInputParameters()
      Gets the value of the defaultInputParameters property.
      Returns:
      possible object is InputParameters
    • setDefaultInputParameters

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setDefaultInputParameters(InputParameters value)
      Sets the value of the defaultInputParameters property.
      Parameters:
      value - allowed object is InputParameters
    • getScenario

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public List<ScenarioType> getScenario()
      Gets the value of the scenario 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 scenario property.

      For example, to add a new item, do as follows:

          getScenario().add(newItem);
       

      Objects of the following type(s) are allowed in the list ScenarioType