You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
926 B
Java
43 lines
926 B
Java
|
|
package com.artmark.avs5rs.dispatcher.model;
|
|
|
|
import javax.xml.bind.annotation.XmlEnum;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
|
|
|
|
/**
|
|
* <p>Java class for ErrorCode.
|
|
*
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
* <p>
|
|
* <pre>
|
|
* <simpleType name="ErrorCode">
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
* <enumeration value="INTERNAL"/>
|
|
* <enumeration value="NOT_FOUND"/>
|
|
* <enumeration value="SEAT_OCCUPIED"/>
|
|
* <enumeration value="PERSONAL_DATA_INCORRECT"/>
|
|
* </restriction>
|
|
* </simpleType>
|
|
* </pre>
|
|
*
|
|
*/
|
|
@XmlType(name = "ErrorCode")
|
|
@XmlEnum
|
|
public enum ErrorCode {
|
|
|
|
INTERNAL,
|
|
NOT_FOUND,
|
|
SEAT_OCCUPIED,
|
|
PERSONAL_DATA_INCORRECT;
|
|
|
|
public String value() {
|
|
return name();
|
|
}
|
|
|
|
public static ErrorCode fromValue(String v) {
|
|
return valueOf(v);
|
|
}
|
|
|
|
}
|