io.atlasmap.v2.FieldStatus Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.05.02 at 12:29:58 PM EDT
//
package io.atlasmap.v2;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for FieldStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="FieldStatus">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Supported"/>
* <enumeration value="Unsupported"/>
* <enumeration value="Cached"/>
* <enumeration value="Error"/>
* <enumeration value="NotFound"/>
* <enumeration value="BlackList"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "FieldStatus")
@XmlEnum
public enum FieldStatus {
@XmlEnumValue("Supported")
SUPPORTED("Supported"),
@XmlEnumValue("Unsupported")
UNSUPPORTED("Unsupported"),
@XmlEnumValue("Cached")
CACHED("Cached"),
@XmlEnumValue("Error")
ERROR("Error"),
@XmlEnumValue("NotFound")
NOT_FOUND("NotFound"),
@XmlEnumValue("BlackList")
BLACK_LIST("BlackList");
private final String value;
FieldStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static FieldStatus fromValue(String v) {
for (FieldStatus c: FieldStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy