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

uk.org.siri.siri20.ServiceExceptionEnumeration 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:39 PM UTC 
//


package uk.org.siri.siri20;

import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 

Java class for ServiceExceptionEnumeration. * *

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

 * <simpleType name="ServiceExceptionEnumeration">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *     <enumeration value="beforeFirstJourney"/>
 *     <enumeration value="afterLastJourney"/>
 *     <enumeration value="noServiceToday"/>
 *     <enumeration value="transportTemporarilySuspended"/>
 *     <enumeration value="transportLongtermSuspended"/>
 *     <enumeration value="transportSeverlyDisrupted"/>
 *     <enumeration value="realtimeDataNotAvailable"/>
 *     <enumeration value="realtimeDataAvailable"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "ServiceExceptionEnumeration") @XmlEnum public enum ServiceExceptionEnumeration { /** * No transport services returned because currently before first journey of day. * */ @XmlEnumValue("beforeFirstJourney") BEFORE_FIRST_JOURNEY("beforeFirstJourney"), /** * No transport services returned because currently after first journey of day. * */ @XmlEnumValue("afterLastJourney") AFTER_LAST_JOURNEY("afterLastJourney"), /** * No transport services returned because no services today. * */ @XmlEnumValue("noServiceToday") NO_SERVICE_TODAY("noServiceToday"), /** * No transport services returned because services currently suspended. * */ @XmlEnumValue("transportTemporarilySuspended") TRANSPORT_TEMPORARILY_SUSPENDED("transportTemporarilySuspended"), /** * No transport services returned because prolonged suspension of services. * */ @XmlEnumValue("transportLongtermSuspended") TRANSPORT_LONGTERM_SUSPENDED("transportLongtermSuspended"), /** * Transport services returned subject to severe disruptions. * */ @XmlEnumValue("transportSeverlyDisrupted") TRANSPORT_SEVERLY_DISRUPTED("transportSeverlyDisrupted"), /** * No transport services returned because real-time services not available. * */ @XmlEnumValue("realtimeDataNotAvailable") REALTIME_DATA_NOT_AVAILABLE("realtimeDataNotAvailable"), @XmlEnumValue("realtimeDataAvailable") REALTIME_DATA_AVAILABLE("realtimeDataAvailable"); private final String value; ServiceExceptionEnumeration(String v) { value = v; } public String value() { return value; } public static ServiceExceptionEnumeration fromValue(String v) { for (ServiceExceptionEnumeration c: ServiceExceptionEnumeration.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy