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

de.vdv.ojp20.siri.DelaysStructure Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package de.vdv.ojp20.siri;

import java.time.Duration;
import eu.datex2.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.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import org.opentripplanner.ojp.util.DurationXmlAdapter;


/**
 * 

Java class for DelaysStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DelaysStructure", propOrder = { "delayBand", "delayType", "delay" }) public class DelaysStructure { @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; } public DelaysStructure withDelayBand(DelayBandEnumeration value) { setDelayBand(value); return this; } public DelaysStructure withDelayType(DelaysTypeEnum value) { setDelayType(value); return this; } public DelaysStructure withDelay(Duration value) { setDelay(value); return this; } /** * Generates a String representation of the contents of this type. * This is an extension method, produced by the 'ts' xjc plugin * */ @Override public String toString() { return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy