
de.vdv.ojp20.siri.BoardingStructure 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 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 BoardingStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BoardingStructure", propOrder = {
"arrivalBoardingActivity",
"departureBoardingActivity"
})
public class BoardingStructure {
@XmlElement(name = "ArrivalBoardingActivity", defaultValue = "alighting")
@XmlSchemaType(name = "NMTOKEN")
protected ArrivalBoardingActivityEnumeration arrivalBoardingActivity;
@XmlElement(name = "DepartureBoardingActivity", defaultValue = "boarding")
@XmlSchemaType(name = "NMTOKEN")
protected DepartureBoardingActivityEnumeration departureBoardingActivity;
/**
* Gets the value of the arrivalBoardingActivity property.
*
* @return
* possible object is
* {@link ArrivalBoardingActivityEnumeration }
*
*/
public ArrivalBoardingActivityEnumeration getArrivalBoardingActivity() {
return arrivalBoardingActivity;
}
/**
* Sets the value of the arrivalBoardingActivity property.
*
* @param value
* allowed object is
* {@link ArrivalBoardingActivityEnumeration }
*
*/
public void setArrivalBoardingActivity(ArrivalBoardingActivityEnumeration value) {
this.arrivalBoardingActivity = value;
}
/**
* Gets the value of the departureBoardingActivity property.
*
* @return
* possible object is
* {@link DepartureBoardingActivityEnumeration }
*
*/
public DepartureBoardingActivityEnumeration getDepartureBoardingActivity() {
return departureBoardingActivity;
}
/**
* Sets the value of the departureBoardingActivity property.
*
* @param value
* allowed object is
* {@link DepartureBoardingActivityEnumeration }
*
*/
public void setDepartureBoardingActivity(DepartureBoardingActivityEnumeration value) {
this.departureBoardingActivity = value;
}
public BoardingStructure withArrivalBoardingActivity(ArrivalBoardingActivityEnumeration value) {
setArrivalBoardingActivity(value);
return this;
}
public BoardingStructure withDepartureBoardingActivity(DepartureBoardingActivityEnumeration value) {
setDepartureBoardingActivity(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