
de.vdv.ojp20.siri.TrainComponentStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
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.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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for TrainComponentStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TrainComponentStructure", propOrder = {
"trainComponentCode",
"order",
"label",
"description",
"trainElementRef",
"trainElement",
"reversedOrientation"
})
public class TrainComponentStructure {
@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 = "TrainElementRef")
protected TrainElementRefStructure trainElementRef;
@XmlElement(name = "TrainElement")
protected TrainElementStructure trainElement;
@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 trainElementRef property.
*
* @return
* possible object is
* {@link TrainElementRefStructure }
*
*/
public TrainElementRefStructure getTrainElementRef() {
return trainElementRef;
}
/**
* Sets the value of the trainElementRef property.
*
* @param value
* allowed object is
* {@link TrainElementRefStructure }
*
*/
public void setTrainElementRef(TrainElementRefStructure value) {
this.trainElementRef = value;
}
/**
* Gets the value of the trainElement property.
*
* @return
* possible object is
* {@link TrainElementStructure }
*
*/
public TrainElementStructure getTrainElement() {
return trainElement;
}
/**
* Sets the value of the trainElement property.
*
* @param value
* allowed object is
* {@link TrainElementStructure }
*
*/
public void setTrainElement(TrainElementStructure value) {
this.trainElement = 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;
}
public TrainComponentStructure withTrainComponentCode(String value) {
setTrainComponentCode(value);
return this;
}
public TrainComponentStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
public TrainComponentStructure withLabel(NaturalLanguageStringStructure value) {
setLabel(value);
return this;
}
public TrainComponentStructure withDescription(NaturalLanguageStringStructure value) {
setDescription(value);
return this;
}
public TrainComponentStructure withTrainElementRef(TrainElementRefStructure value) {
setTrainElementRef(value);
return this;
}
public TrainComponentStructure withTrainElement(TrainElementStructure value) {
setTrainElement(value);
return this;
}
public TrainComponentStructure withReversedOrientation(Boolean value) {
setReversedOrientation(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