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

uk.org.siri.siri21.TrainComponent 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:41 PM UTC 
//


package uk.org.siri.siri21;

import java.io.Serializable;
import java.math.BigInteger;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * Type for TRAIN COMPONENT. (since SIRI 2.1)
 * 
 * 

Java class for TrainComponentStructure complex type. * *

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

 * <complexType name="TrainComponentStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="TrainComponentCode" type="{http://www.siri.org.uk/siri}TrainComponentCodeType" minOccurs="0"/>
 *         <element name="Order" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
 *         <group ref="{http://www.siri.org.uk/siri}TrainComponentGroup"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TrainComponentStructure", propOrder = { "trainComponentCode", "order", "label", "description", "trainElement", "trainElementRef", "reversedOrientation" }) @XmlRootElement(name = "TrainComponent") public class TrainComponent implements Serializable { @XmlElement(name = "TrainComponentCode") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String trainComponentCode; @XmlElement(name = "Order", required = true) @XmlSchemaType(name = "positiveInteger") protected BigInteger order; @XmlElement(name = "Label") protected NaturalLanguageStringStructure label; @XmlElement(name = "Description") protected NaturalLanguageStringStructure description; @XmlElement(name = "TrainElement") protected TrainElement trainElement; @XmlElement(name = "TrainElementRef") protected TrainElementRef trainElementRef; @XmlElement(name = "ReversedOrientation", defaultValue = "false") protected Boolean reversedOrientation; /** * Gets the value of the trainComponentCode property. * * @return * possible object is * {@link String } * */ public String getTrainComponentCode() { return trainComponentCode; } /** * Sets the value of the trainComponentCode property. * * @param value * allowed object is * {@link String } * */ public void setTrainComponentCode(String value) { this.trainComponentCode = value; } /** * Gets the value of the order property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getOrder() { return order; } /** * Sets the value of the order property. * * @param value * allowed object is * {@link BigInteger } * */ public void setOrder(BigInteger value) { this.order = value; } /** * Gets the value of the label property. * * @return * possible object is * {@link NaturalLanguageStringStructure } * */ public NaturalLanguageStringStructure getLabel() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is * {@link NaturalLanguageStringStructure } * */ public void setLabel(NaturalLanguageStringStructure value) { this.label = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link NaturalLanguageStringStructure } * */ public NaturalLanguageStringStructure getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link NaturalLanguageStringStructure } * */ public void setDescription(NaturalLanguageStringStructure value) { this.description = value; } /** * Gets the value of the trainElement property. * * @return * possible object is * {@link TrainElement } * */ public TrainElement getTrainElement() { return trainElement; } /** * Sets the value of the trainElement property. * * @param value * allowed object is * {@link TrainElement } * */ public void setTrainElement(TrainElement value) { this.trainElement = value; } /** * Gets the value of the trainElementRef property. * * @return * possible object is * {@link TrainElementRef } * */ public TrainElementRef getTrainElementRef() { return trainElementRef; } /** * Sets the value of the trainElementRef property. * * @param value * allowed object is * {@link TrainElementRef } * */ public void setTrainElementRef(TrainElementRef value) { this.trainElementRef = value; } /** * Gets the value of the reversedOrientation property. * * @return * possible object is * {@link Boolean } * */ public Boolean isReversedOrientation() { return reversedOrientation; } /** * Sets the value of the reversedOrientation property. * * @param value * allowed object is * {@link Boolean } * */ public void setReversedOrientation(Boolean value) { this.reversedOrientation = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy