![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.SeverityEnumeration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of siri-java-model Show documentation
Show all versions of siri-java-model Show documentation
Java objects based on the public SIRI XSDs
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 SeverityEnumeration.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="SeverityEnumeration">
* <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
* <enumeration value="pti26_0"/>
* <enumeration value="unknown"/>
* <enumeration value="pti26_1"/>
* <enumeration value="verySlight"/>
* <enumeration value="pti26_2"/>
* <enumeration value="slight"/>
* <enumeration value="pti26_3"/>
* <enumeration value="normal"/>
* <enumeration value="pti26_4"/>
* <enumeration value="severe"/>
* <enumeration value="pti26_5"/>
* <enumeration value="verySevere"/>
* <enumeration value="pti26_6"/>
* <enumeration value="noImpact"/>
* <enumeration value="pti26_255"/>
* <enumeration value="undefined"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "SeverityEnumeration")
@XmlEnum
public enum SeverityEnumeration {
@XmlEnumValue("pti26_0")
PTI_26_0("pti26_0"),
/**
* TPEG Pti26_0: unknown.
*
*/
@XmlEnumValue("unknown")
UNKNOWN("unknown"),
@XmlEnumValue("pti26_1")
PTI_26_1("pti26_1"),
/**
* TPEG Pti26_1: very slight.
*
*/
@XmlEnumValue("verySlight")
VERY_SLIGHT("verySlight"),
@XmlEnumValue("pti26_2")
PTI_26_2("pti26_2"),
/**
* TPEG Pti26_2: slight.
*
*/
@XmlEnumValue("slight")
SLIGHT("slight"),
@XmlEnumValue("pti26_3")
PTI_26_3("pti26_3"),
/**
* TPEG Pti26_3: normal.
*
*/
@XmlEnumValue("normal")
NORMAL("normal"),
@XmlEnumValue("pti26_4")
PTI_26_4("pti26_4"),
/**
* TPEG Pti26_4: severe.
*
*/
@XmlEnumValue("severe")
SEVERE("severe"),
@XmlEnumValue("pti26_5")
PTI_26_5("pti26_5"),
/**
* TPEG Pti26_5: verySevere.
*
*/
@XmlEnumValue("verySevere")
VERY_SEVERE("verySevere"),
@XmlEnumValue("pti26_6")
PTI_26_6("pti26_6"),
/**
* TPEG Pti26_6: noImpact.
*
*/
@XmlEnumValue("noImpact")
NO_IMPACT("noImpact"),
@XmlEnumValue("pti26_255")
PTI_26_255("pti26_255"),
/**
* TPEG Pti26_255: undefined.
*
*/
@XmlEnumValue("undefined")
UNDEFINED("undefined");
private final String value;
SeverityEnumeration(String v) {
value = v;
}
public String value() {
return value;
}
public static SeverityEnumeration fromValue(String v) {
for (SeverityEnumeration c: SeverityEnumeration.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy