Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.10.24 at 09:39:16 AM CEST
//
package net.ivoa.xml.uws.v1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ErrorType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="ErrorType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="transient"/>
* <enumeration value="fatal"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "ErrorType")
@XmlEnum
public enum ErrorType {
@XmlEnumValue("transient")
TRANSIENT("transient"),
@XmlEnumValue("fatal")
FATAL("fatal");
private final String value;
ErrorType(String v) {
value = v;
}
public String value() {
return value;
}
public static ErrorType fromValue(String v) {
for (ErrorType c: ErrorType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}