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

org.rutebanken.netex.model.TransferDurationStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2017.09.21 at 10:53:23 AM CEST 
//


package org.rutebanken.netex.model;

import java.time.Duration;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.migesok.jaxb.adapter.javatime.DurationXmlAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for TransferDurationStructure complex type. * *

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

 * <complexType name="TransferDurationStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="DefaultDuration" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
 *         <element name="FrequentTravellerDuration" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
 *         <element name="OccasionalTravellerDuration" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
 *         <element name="MobilityRestrictedTravellerDuration" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TransferDurationStructure", propOrder = { "defaultDuration", "frequentTravellerDuration", "occasionalTravellerDuration", "mobilityRestrictedTravellerDuration" }) public class TransferDurationStructure { @XmlElement(name = "DefaultDuration", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration defaultDuration; @XmlElement(name = "FrequentTravellerDuration", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration frequentTravellerDuration; @XmlElement(name = "OccasionalTravellerDuration", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration occasionalTravellerDuration; @XmlElement(name = "MobilityRestrictedTravellerDuration", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration mobilityRestrictedTravellerDuration; /** * Gets the value of the defaultDuration property. * * @return * possible object is * {@link String } * */ public Duration getDefaultDuration() { return defaultDuration; } /** * Sets the value of the defaultDuration property. * * @param value * allowed object is * {@link String } * */ public void setDefaultDuration(Duration value) { this.defaultDuration = value; } /** * Gets the value of the frequentTravellerDuration property. * * @return * possible object is * {@link String } * */ public Duration getFrequentTravellerDuration() { return frequentTravellerDuration; } /** * Sets the value of the frequentTravellerDuration property. * * @param value * allowed object is * {@link String } * */ public void setFrequentTravellerDuration(Duration value) { this.frequentTravellerDuration = value; } /** * Gets the value of the occasionalTravellerDuration property. * * @return * possible object is * {@link String } * */ public Duration getOccasionalTravellerDuration() { return occasionalTravellerDuration; } /** * Sets the value of the occasionalTravellerDuration property. * * @param value * allowed object is * {@link String } * */ public void setOccasionalTravellerDuration(Duration value) { this.occasionalTravellerDuration = value; } /** * Gets the value of the mobilityRestrictedTravellerDuration property. * * @return * possible object is * {@link String } * */ public Duration getMobilityRestrictedTravellerDuration() { return mobilityRestrictedTravellerDuration; } /** * Sets the value of the mobilityRestrictedTravellerDuration property. * * @param value * allowed object is * {@link String } * */ public void setMobilityRestrictedTravellerDuration(Duration value) { this.mobilityRestrictedTravellerDuration = value; } public TransferDurationStructure withDefaultDuration(Duration value) { setDefaultDuration(value); return this; } public TransferDurationStructure withFrequentTravellerDuration(Duration value) { setFrequentTravellerDuration(value); return this; } public TransferDurationStructure withOccasionalTravellerDuration(Duration value) { setOccasionalTravellerDuration(value); return this; } public TransferDurationStructure withMobilityRestrictedTravellerDuration(Duration value) { setMobilityRestrictedTravellerDuration(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 - 2024 Weber Informatics LLC | Privacy Policy