LinkType.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.08.29 at 06:50:16 PM CEST
  6. //


  7. package org.opentrafficsim.xml.generated;

  8. import java.io.Serializable;
  9. import java.util.ArrayList;
  10. import java.util.List;
  11. import javax.annotation.Generated;
  12. import javax.xml.bind.annotation.XmlAccessType;
  13. import javax.xml.bind.annotation.XmlAccessorType;
  14. import javax.xml.bind.annotation.XmlElement;
  15. import javax.xml.bind.annotation.XmlRootElement;
  16. import javax.xml.bind.annotation.XmlType;


  17. /**
  18.  * <p>Java class for anonymous complex type.
  19.  *
  20.  * <p>The following schema fragment specifies the expected content contained within this class.
  21.  *
  22.  * <pre>
  23.  * &lt;complexType&gt;
  24.  *   &lt;complexContent&gt;
  25.  *     &lt;extension base="{http://www.opentrafficsim.org/ots}GtuCompatibleInfraType"&gt;
  26.  *       &lt;sequence&gt;
  27.  *         &lt;element ref="{http://www.opentrafficsim.org/ots}SpeedLimit" maxOccurs="unbounded" minOccurs="0"/&gt;
  28.  *       &lt;/sequence&gt;
  29.  *     &lt;/extension&gt;
  30.  *   &lt;/complexContent&gt;
  31.  * &lt;/complexType&gt;
  32.  * </pre>
  33.  *
  34.  *
  35.  */
  36. @XmlAccessorType(XmlAccessType.FIELD)
  37. @XmlType(name = "", propOrder = {
  38.     "speedLimit"
  39. })
  40. @XmlRootElement(name = "LinkType")
  41. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  42. public class LinkType
  43.     extends GtuCompatibleInfraType
  44.     implements Serializable
  45. {

  46.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  47.     private final static long serialVersionUID = 10102L;
  48.     @XmlElement(name = "SpeedLimit")
  49.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  50.     protected List<SpeedLimit> speedLimit;

  51.     /**
  52.      * Gets the value of the speedLimit property.
  53.      *
  54.      * <p>
  55.      * This accessor method returns a reference to the live list,
  56.      * not a snapshot. Therefore any modification you make to the
  57.      * returned list will be present inside the JAXB object.
  58.      * This is why there is not a <CODE>set</CODE> method for the speedLimit property.
  59.      *
  60.      * <p>
  61.      * For example, to add a new item, do as follows:
  62.      * <pre>
  63.      *    getSpeedLimit().add(newItem);
  64.      * </pre>
  65.      *
  66.      *
  67.      * <p>
  68.      * Objects of the following type(s) are allowed in the list
  69.      * {@link SpeedLimit }
  70.      *
  71.      *
  72.      */
  73.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
  74.     public List<SpeedLimit> getSpeedLimit() {
  75.         if (speedLimit == null) {
  76.             speedLimit = new ArrayList<SpeedLimit>();
  77.         }
  78.         return this.speedLimit;
  79.     }

  80. }