All Downloads are FREE. Search and download functionalities are using the official Maven repository.

uk.org.siri.siri20.DelaysStructure Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2025.01.07 at 02:19:39 PM UTC 
//


package uk.org.siri.siri20;

import java.io.Serializable;
import java.time.Duration;
import eu.datex2.siri20.schema._2_0rc1._2_0.DelaysTypeEnum;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.entur.siri.adapter.DurationXmlAdapter;


/**
 * Type for easement info.
 * 
 * 

Java class for DelaysStructure complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="DelaysStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="DelayBand" type="{http://www.siri.org.uk/siri}DelayBandEnumeration" minOccurs="0"/>
 *         <element name="DelayType" type="{http://datex2.eu/schema/2_0RC1/2_0}DelaysTypeEnum" minOccurs="0"/>
 *         <element name="Delay" type="{http://www.siri.org.uk/siri}PositiveDurationType" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DelaysStructure", propOrder = { "delayBand", "delayType", "delay" }) public class DelaysStructure implements Serializable { @XmlElement(name = "DelayBand") @XmlSchemaType(name = "normalizedString") protected DelayBandEnumeration delayBand; @XmlElement(name = "DelayType") @XmlSchemaType(name = "string") protected DelaysTypeEnum delayType; @XmlElement(name = "Delay", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration delay; /** * Gets the value of the delayBand property. * * @return * possible object is * {@link DelayBandEnumeration } * */ public DelayBandEnumeration getDelayBand() { return delayBand; } /** * Sets the value of the delayBand property. * * @param value * allowed object is * {@link DelayBandEnumeration } * */ public void setDelayBand(DelayBandEnumeration value) { this.delayBand = value; } /** * Gets the value of the delayType property. * * @return * possible object is * {@link DelaysTypeEnum } * */ public DelaysTypeEnum getDelayType() { return delayType; } /** * Sets the value of the delayType property. * * @param value * allowed object is * {@link DelaysTypeEnum } * */ public void setDelayType(DelaysTypeEnum value) { this.delayType = value; } /** * Gets the value of the delay property. * * @return * possible object is * {@link String } * */ public Duration getDelay() { return delay; } /** * Sets the value of the delay property. * * @param value * allowed object is * {@link String } * */ public void setDelay(Duration value) { this.delay = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy