
de.vdv.ojp20.siri.PassengerCapacityStructure 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 org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for PassengerCapacityStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PassengerCapacityStructure", propOrder = {
"compoundTrainRef",
"trainRef",
"trainInCompoundTrainRef",
"trainElementRef",
"trainComponentRef",
"entranceToVehicleRef",
"fareClass",
"passengerCategory",
"totalCapacity",
"seatingCapacity",
"standingCapacity",
"specialPlaceCapacity",
"pushchairCapacity",
"wheelchairPlaceCapacity",
"pramPlaceCapacity",
"bicycleRackCapacity"
})
public class PassengerCapacityStructure {
@XmlElement(name = "CompoundTrainRef")
protected CompoundTrainRefStructure compoundTrainRef;
@XmlElement(name = "TrainRef")
protected TrainRefStructure trainRef;
@XmlElement(name = "TrainInCompoundTrainRef")
protected TrainInCompoundTrainRefStructure trainInCompoundTrainRef;
@XmlElement(name = "TrainElementRef")
protected TrainElementRefStructure trainElementRef;
@XmlElement(name = "TrainComponentRef")
protected TrainComponentRefStructure trainComponentRef;
@XmlElement(name = "EntranceToVehicleRef")
protected EntranceToVehicleRefStructure entranceToVehicleRef;
@XmlElement(name = "FareClass")
@XmlSchemaType(name = "NMTOKEN")
protected FareClassEnumeration fareClass;
@XmlElement(name = "PassengerCategory")
protected NaturalLanguageStringStructure passengerCategory;
@XmlElement(name = "TotalCapacity")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger totalCapacity;
@XmlElement(name = "SeatingCapacity")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger seatingCapacity;
@XmlElement(name = "StandingCapacity")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger standingCapacity;
@XmlElement(name = "SpecialPlaceCapacity")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger specialPlaceCapacity;
@XmlElement(name = "PushchairCapacity")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger pushchairCapacity;
@XmlElement(name = "WheelchairPlaceCapacity")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger wheelchairPlaceCapacity;
@XmlElement(name = "PramPlaceCapacity")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger pramPlaceCapacity;
@XmlElement(name = "BicycleRackCapacity")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger bicycleRackCapacity;
/**
* Gets the value of the compoundTrainRef property.
*
* @return
* possible object is
* {@link CompoundTrainRefStructure }
*
*/
public CompoundTrainRefStructure getCompoundTrainRef() {
return compoundTrainRef;
}
/**
* Sets the value of the compoundTrainRef property.
*
* @param value
* allowed object is
* {@link CompoundTrainRefStructure }
*
*/
public void setCompoundTrainRef(CompoundTrainRefStructure value) {
this.compoundTrainRef = value;
}
/**
* 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 trainInCompoundTrainRef property.
*
* @return
* possible object is
* {@link TrainInCompoundTrainRefStructure }
*
*/
public TrainInCompoundTrainRefStructure getTrainInCompoundTrainRef() {
return trainInCompoundTrainRef;
}
/**
* Sets the value of the trainInCompoundTrainRef property.
*
* @param value
* allowed object is
* {@link TrainInCompoundTrainRefStructure }
*
*/
public void setTrainInCompoundTrainRef(TrainInCompoundTrainRefStructure value) {
this.trainInCompoundTrainRef = 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 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 entranceToVehicleRef property.
*
* @return
* possible object is
* {@link EntranceToVehicleRefStructure }
*
*/
public EntranceToVehicleRefStructure getEntranceToVehicleRef() {
return entranceToVehicleRef;
}
/**
* Sets the value of the entranceToVehicleRef property.
*
* @param value
* allowed object is
* {@link EntranceToVehicleRefStructure }
*
*/
public void setEntranceToVehicleRef(EntranceToVehicleRefStructure value) {
this.entranceToVehicleRef = value;
}
/**
* Gets the value of the fareClass property.
*
* @return
* possible object is
* {@link FareClassEnumeration }
*
*/
public FareClassEnumeration getFareClass() {
return fareClass;
}
/**
* Sets the value of the fareClass property.
*
* @param value
* allowed object is
* {@link FareClassEnumeration }
*
*/
public void setFareClass(FareClassEnumeration value) {
this.fareClass = value;
}
/**
* Gets the value of the passengerCategory property.
*
* @return
* possible object is
* {@link NaturalLanguageStringStructure }
*
*/
public NaturalLanguageStringStructure getPassengerCategory() {
return passengerCategory;
}
/**
* Sets the value of the passengerCategory property.
*
* @param value
* allowed object is
* {@link NaturalLanguageStringStructure }
*
*/
public void setPassengerCategory(NaturalLanguageStringStructure value) {
this.passengerCategory = value;
}
/**
* Gets the value of the totalCapacity property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getTotalCapacity() {
return totalCapacity;
}
/**
* Sets the value of the totalCapacity property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setTotalCapacity(BigInteger value) {
this.totalCapacity = value;
}
/**
* Gets the value of the seatingCapacity property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSeatingCapacity() {
return seatingCapacity;
}
/**
* Sets the value of the seatingCapacity property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSeatingCapacity(BigInteger value) {
this.seatingCapacity = value;
}
/**
* Gets the value of the standingCapacity property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getStandingCapacity() {
return standingCapacity;
}
/**
* Sets the value of the standingCapacity property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setStandingCapacity(BigInteger value) {
this.standingCapacity = value;
}
/**
* Gets the value of the specialPlaceCapacity property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSpecialPlaceCapacity() {
return specialPlaceCapacity;
}
/**
* Sets the value of the specialPlaceCapacity property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSpecialPlaceCapacity(BigInteger value) {
this.specialPlaceCapacity = value;
}
/**
* Gets the value of the pushchairCapacity property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getPushchairCapacity() {
return pushchairCapacity;
}
/**
* Sets the value of the pushchairCapacity property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setPushchairCapacity(BigInteger value) {
this.pushchairCapacity = value;
}
/**
* Gets the value of the wheelchairPlaceCapacity property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getWheelchairPlaceCapacity() {
return wheelchairPlaceCapacity;
}
/**
* Sets the value of the wheelchairPlaceCapacity property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setWheelchairPlaceCapacity(BigInteger value) {
this.wheelchairPlaceCapacity = value;
}
/**
* Gets the value of the pramPlaceCapacity property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getPramPlaceCapacity() {
return pramPlaceCapacity;
}
/**
* Sets the value of the pramPlaceCapacity property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setPramPlaceCapacity(BigInteger value) {
this.pramPlaceCapacity = value;
}
/**
* Gets the value of the bicycleRackCapacity property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getBicycleRackCapacity() {
return bicycleRackCapacity;
}
/**
* Sets the value of the bicycleRackCapacity property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setBicycleRackCapacity(BigInteger value) {
this.bicycleRackCapacity = value;
}
public PassengerCapacityStructure withCompoundTrainRef(CompoundTrainRefStructure value) {
setCompoundTrainRef(value);
return this;
}
public PassengerCapacityStructure withTrainRef(TrainRefStructure value) {
setTrainRef(value);
return this;
}
public PassengerCapacityStructure withTrainInCompoundTrainRef(TrainInCompoundTrainRefStructure value) {
setTrainInCompoundTrainRef(value);
return this;
}
public PassengerCapacityStructure withTrainElementRef(TrainElementRefStructure value) {
setTrainElementRef(value);
return this;
}
public PassengerCapacityStructure withTrainComponentRef(TrainComponentRefStructure value) {
setTrainComponentRef(value);
return this;
}
public PassengerCapacityStructure withEntranceToVehicleRef(EntranceToVehicleRefStructure value) {
setEntranceToVehicleRef(value);
return this;
}
public PassengerCapacityStructure withFareClass(FareClassEnumeration value) {
setFareClass(value);
return this;
}
public PassengerCapacityStructure withPassengerCategory(NaturalLanguageStringStructure value) {
setPassengerCategory(value);
return this;
}
public PassengerCapacityStructure withTotalCapacity(BigInteger value) {
setTotalCapacity(value);
return this;
}
public PassengerCapacityStructure withSeatingCapacity(BigInteger value) {
setSeatingCapacity(value);
return this;
}
public PassengerCapacityStructure withStandingCapacity(BigInteger value) {
setStandingCapacity(value);
return this;
}
public PassengerCapacityStructure withSpecialPlaceCapacity(BigInteger value) {
setSpecialPlaceCapacity(value);
return this;
}
public PassengerCapacityStructure withPushchairCapacity(BigInteger value) {
setPushchairCapacity(value);
return this;
}
public PassengerCapacityStructure withWheelchairPlaceCapacity(BigInteger value) {
setWheelchairPlaceCapacity(value);
return this;
}
public PassengerCapacityStructure withPramPlaceCapacity(BigInteger value) {
setPramPlaceCapacity(value);
return this;
}
public PassengerCapacityStructure withBicycleRackCapacity(BigInteger value) {
setBicycleRackCapacity(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