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

de.vdv.ojp20.TariffZoneStructure 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;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;


/**
 * [a more clearly defined equivalent of TARIFF ZONE in TM and NeTEx] A ZONE used to define a zonal fare structure in a zone-counting or zone-matrix system.
 * 
 * 

Java class for TariffZoneStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TariffZoneStructure", propOrder = { "tariffZoneRef", "tariffZoneText" }) public class TariffZoneStructure { /** * Reference to a fare zone. * */ @XmlElement(name = "TariffZoneRef", required = true) protected TariffZoneRefStructure tariffZoneRef; /** * Text describing the fare zone. Passengers will recognize the fare zone by this text. Often published on Fare Zone Maps. * */ @XmlElement(name = "TariffZoneText", required = true) protected String tariffZoneText; /** * Reference to a fare zone. * * @return * possible object is * {@link TariffZoneRefStructure } * */ public TariffZoneRefStructure getTariffZoneRef() { return tariffZoneRef; } /** * Sets the value of the tariffZoneRef property. * * @param value * allowed object is * {@link TariffZoneRefStructure } * * @see #getTariffZoneRef() */ public void setTariffZoneRef(TariffZoneRefStructure value) { this.tariffZoneRef = value; } /** * Text describing the fare zone. Passengers will recognize the fare zone by this text. Often published on Fare Zone Maps. * * @return * possible object is * {@link String } * */ public String getTariffZoneText() { return tariffZoneText; } /** * Sets the value of the tariffZoneText property. * * @param value * allowed object is * {@link String } * * @see #getTariffZoneText() */ public void setTariffZoneText(String value) { this.tariffZoneText = value; } public TariffZoneStructure withTariffZoneRef(TariffZoneRefStructure value) { setTariffZoneRef(value); return this; } public TariffZoneStructure withTariffZoneText(String value) { setTariffZoneText(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