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

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


/**
 * 

Java class for PassageBetweenTrainsStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PassageBetweenTrainsStructure", propOrder = { "trainRef", "trainComponentRef", "passageIsPossible" }) public class PassageBetweenTrainsStructure { @XmlElement(name = "TrainRef", required = true) protected TrainRefStructure trainRef; @XmlElement(name = "TrainComponentRef") protected TrainComponentRefStructure trainComponentRef; @XmlElement(name = "PassageIsPossible") protected boolean passageIsPossible; /** * Gets the value of the trainRef property. * * @return * possible object is * {@link TrainRefStructure } * */ public TrainRefStructure getTrainRef() { return trainRef; } /** * Sets the value of the trainRef property. * * @param value * allowed object is * {@link TrainRefStructure } * */ public void setTrainRef(TrainRefStructure value) { this.trainRef = value; } /** * Gets the value of the trainComponentRef property. * * @return * possible object is * {@link TrainComponentRefStructure } * */ public TrainComponentRefStructure getTrainComponentRef() { return trainComponentRef; } /** * Sets the value of the trainComponentRef property. * * @param value * allowed object is * {@link TrainComponentRefStructure } * */ public void setTrainComponentRef(TrainComponentRefStructure value) { this.trainComponentRef = value; } /** * Gets the value of the passageIsPossible property. * */ public boolean isPassageIsPossible() { return passageIsPossible; } /** * Sets the value of the passageIsPossible property. * */ public void setPassageIsPossible(boolean value) { this.passageIsPossible = value; } public PassageBetweenTrainsStructure withTrainRef(TrainRefStructure value) { setTrainRef(value); return this; } public PassageBetweenTrainsStructure withTrainComponentRef(TrainComponentRefStructure value) { setTrainComponentRef(value); return this; } public PassageBetweenTrainsStructure withPassageIsPossible(boolean value) { setPassageIsPossible(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