DurationDistType.java

  1. //
  2. // This file was generated by the Eclipse Implementation of JAXB, v2.3.7
  3. // See https://eclipse-ee4j.github.io/jaxb-ri
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2024.05.19 at 03:25:58 AM CEST
  6. //


  7. package org.opentrafficsim.xml.generated;

  8. import java.io.Serializable;
  9. import javax.annotation.Generated;
  10. import javax.xml.bind.annotation.XmlAccessType;
  11. import javax.xml.bind.annotation.XmlAccessorType;
  12. import javax.xml.bind.annotation.XmlAttribute;
  13. import javax.xml.bind.annotation.XmlSeeAlso;
  14. import javax.xml.bind.annotation.XmlType;
  15. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  16. import org.opentrafficsim.xml.bindings.DurationUnitAdapter;
  17. import org.opentrafficsim.xml.bindings.types.DurationUnitType;


  18. /**
  19.  * <p>Java class for DurationDistType complex type.
  20.  *
  21.  * <p>The following schema fragment specifies the expected content contained within this class.
  22.  *
  23.  * <pre>
  24.  * &lt;complexType name="DurationDistType"&gt;
  25.  *   &lt;complexContent&gt;
  26.  *     &lt;extension base="{http://www.opentrafficsim.org/ots}ConstantDistType"&gt;
  27.  *       &lt;attribute name="DurationUnit" use="required" type="{http://www.opentrafficsim.org/ots}DurationUnitType" /&gt;
  28.  *     &lt;/extension&gt;
  29.  *   &lt;/complexContent&gt;
  30.  * &lt;/complexType&gt;
  31.  * </pre>
  32.  *
  33.  *
  34.  */
  35. @XmlAccessorType(XmlAccessType.FIELD)
  36. @XmlType(name = "DurationDistType")
  37. @XmlSeeAlso({
  38.     org.opentrafficsim.xml.generated.ModelType.ModelParameters.DurationDist.class
  39. })
  40. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  41. public class DurationDistType
  42.     extends ConstantDistType
  43.     implements Serializable
  44. {

  45.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  46.     private final static long serialVersionUID = 10102L;
  47.     @XmlAttribute(name = "DurationUnit", required = true)
  48.     @XmlJavaTypeAdapter(DurationUnitAdapter.class)
  49.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  50.     protected DurationUnitType durationUnit;

  51.     /**
  52.      * Gets the value of the durationUnit property.
  53.      *
  54.      * @return
  55.      *     possible object is
  56.      *     {@link String }
  57.      *    
  58.      */
  59.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  60.     public DurationUnitType getDurationUnit() {
  61.         return durationUnit;
  62.     }

  63.     /**
  64.      * Sets the value of the durationUnit property.
  65.      *
  66.      * @param value
  67.      *     allowed object is
  68.      *     {@link String }
  69.      *    
  70.      */
  71.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-05-19T03:25:58+02:00")
  72.     public void setDurationUnit(DurationUnitType value) {
  73.         this.durationUnit = value;
  74.     }

  75. }