
de.vdv.ojp20.siri.ServiceConditionEnumeration 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.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;
/**
*
*
* Java class for ServiceConditionEnumeration
.
*
* The following schema fragment specifies the expected content contained within this class.
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*/
@XmlType(name = "ServiceConditionEnumeration")
@XmlEnum
public enum ServiceConditionEnumeration {
@XmlEnumValue("unknown")
UNKNOWN("unknown"),
@XmlEnumValue("delay")
DELAY("delay"),
@XmlEnumValue("minorDelays")
MINOR_DELAYS("minorDelays"),
@XmlEnumValue("majorDelays")
MAJOR_DELAYS("majorDelays"),
@XmlEnumValue("operationTimeExtension")
OPERATION_TIME_EXTENSION("operationTimeExtension"),
@XmlEnumValue("onTime")
ON_TIME("onTime"),
@XmlEnumValue("disturbanceRectified")
DISTURBANCE_RECTIFIED("disturbanceRectified"),
@XmlEnumValue("changeOfPlatform")
CHANGE_OF_PLATFORM("changeOfPlatform"),
@XmlEnumValue("lineCancellation")
LINE_CANCELLATION("lineCancellation"),
@XmlEnumValue("tripCancellation")
TRIP_CANCELLATION("tripCancellation"),
@XmlEnumValue("boarding")
BOARDING("boarding"),
@XmlEnumValue("goToGate")
GO_TO_GATE("goToGate"),
@XmlEnumValue("stopCancelled")
STOP_CANCELLED("stopCancelled"),
@XmlEnumValue("stopMoved")
STOP_MOVED("stopMoved"),
@XmlEnumValue("stopOnDemand")
STOP_ON_DEMAND("stopOnDemand"),
@XmlEnumValue("additionalStop")
ADDITIONAL_STOP("additionalStop"),
@XmlEnumValue("substitutedStop")
SUBSTITUTED_STOP("substitutedStop"),
@XmlEnumValue("diverted")
DIVERTED("diverted"),
@XmlEnumValue("disruption")
DISRUPTION("disruption"),
@XmlEnumValue("limitedOperation")
LIMITED_OPERATION("limitedOperation"),
@XmlEnumValue("discontinuedOperation")
DISCONTINUED_OPERATION("discontinuedOperation"),
@XmlEnumValue("irregularTraffic")
IRREGULAR_TRAFFIC("irregularTraffic"),
@XmlEnumValue("wagonOrderChanged")
WAGON_ORDER_CHANGED("wagonOrderChanged"),
@XmlEnumValue("trainShortened")
TRAIN_SHORTENED("trainShortened"),
@XmlEnumValue("additionalRide")
ADDITIONAL_RIDE("additionalRide"),
@XmlEnumValue("replacementRide")
REPLACEMENT_RIDE("replacementRide"),
@XmlEnumValue("temporarilyNonStopping")
TEMPORARILY_NON_STOPPING("temporarilyNonStopping"),
@XmlEnumValue("temporaryStopplace")
TEMPORARY_STOPPLACE("temporaryStopplace"),
@XmlEnumValue("undefinedStatus")
UNDEFINED_STATUS("undefinedStatus"),
@XmlEnumValue("altered")
ALTERED("altered"),
@XmlEnumValue("cancelled")
CANCELLED("cancelled"),
@XmlEnumValue("delayed")
DELAYED("delayed"),
@XmlEnumValue("noService")
NO_SERVICE("noService"),
@XmlEnumValue("disrupted")
DISRUPTED("disrupted"),
@XmlEnumValue("additionalService")
ADDITIONAL_SERVICE("additionalService"),
@XmlEnumValue("specialService")
SPECIAL_SERVICE("specialService"),
@XmlEnumValue("normalService")
NORMAL_SERVICE("normalService"),
@XmlEnumValue("intermittentService")
INTERMITTENT_SERVICE("intermittentService"),
@XmlEnumValue("shortFormedService")
SHORT_FORMED_SERVICE("shortFormedService"),
@XmlEnumValue("fullLengthService")
FULL_LENGTH_SERVICE("fullLengthService"),
@XmlEnumValue("extendedService")
EXTENDED_SERVICE("extendedService"),
@XmlEnumValue("splittingTrain")
SPLITTING_TRAIN("splittingTrain"),
@XmlEnumValue("replacementTransport")
REPLACEMENT_TRANSPORT("replacementTransport"),
@XmlEnumValue("arrivesEarly")
ARRIVES_EARLY("arrivesEarly"),
@XmlEnumValue("shuttleService")
SHUTTLE_SERVICE("shuttleService"),
@XmlEnumValue("replacementService")
REPLACEMENT_SERVICE("replacementService"),
@XmlEnumValue("undefinedServiceInformation")
UNDEFINED_SERVICE_INFORMATION("undefinedServiceInformation");
private final String value;
ServiceConditionEnumeration(String v) {
value = v;
}
/**
* Gets the value associated to the enum constant.
*
* @return
* The value linked to the enum.
*/
public String value() {
return value;
}
/**
* Gets the enum associated to the value passed as parameter.
*
* @param v
* The value to get the enum from.
* @return
* The enum which corresponds to the value, if it exists.
* @throws IllegalArgumentException
* If no value matches in the enum declaration.
*/
public static ServiceConditionEnumeration fromValue(String v) {
for (ServiceConditionEnumeration c: ServiceConditionEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy