LinkType.java
- //
- // This file was generated by the Eclipse Implementation of JAXB, v2.3.7
- // See https://eclipse-ee4j.github.io/jaxb-ri
- // Any modifications to this file will be lost upon recompilation of the source schema.
- // Generated on: 2024.08.29 at 06:50:16 PM CEST
- //
- package org.opentrafficsim.xml.generated;
- import java.io.Serializable;
- import java.util.ArrayList;
- import java.util.List;
- import javax.annotation.Generated;
- import javax.xml.bind.annotation.XmlAccessType;
- import javax.xml.bind.annotation.XmlAccessorType;
- import javax.xml.bind.annotation.XmlElement;
- import javax.xml.bind.annotation.XmlRootElement;
- import javax.xml.bind.annotation.XmlType;
- /**
- * <p>Java class for anonymous complex type.
- *
- * <p>The following schema fragment specifies the expected content contained within this class.
- *
- * <pre>
- * <complexType>
- * <complexContent>
- * <extension base="{http://www.opentrafficsim.org/ots}GtuCompatibleInfraType">
- * <sequence>
- * <element ref="{http://www.opentrafficsim.org/ots}SpeedLimit" maxOccurs="unbounded" minOccurs="0"/>
- * </sequence>
- * </extension>
- * </complexContent>
- * </complexType>
- * </pre>
- *
- *
- */
- @XmlAccessorType(XmlAccessType.FIELD)
- @XmlType(name = "", propOrder = {
- "speedLimit"
- })
- @XmlRootElement(name = "LinkType")
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- public class LinkType
- extends GtuCompatibleInfraType
- implements Serializable
- {
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- private final static long serialVersionUID = 10102L;
- @XmlElement(name = "SpeedLimit")
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- protected List<SpeedLimit> speedLimit;
- /**
- * Gets the value of the speedLimit property.
- *
- * <p>
- * 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 <CODE>set</CODE> method for the speedLimit property.
- *
- * <p>
- * For example, to add a new item, do as follows:
- * <pre>
- * getSpeedLimit().add(newItem);
- * </pre>
- *
- *
- * <p>
- * Objects of the following type(s) are allowed in the list
- * {@link SpeedLimit }
- *
- *
- */
- @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.7", date = "2024-08-29T18:50:16+02:00")
- public List<SpeedLimit> getSpeedLimit() {
- if (speedLimit == null) {
- speedLimit = new ArrayList<SpeedLimit>();
- }
- return this.speedLimit;
- }
- }