io.atlasmap.v2.AuditStatus 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.02.13 at 05:24:46 PM EST
//
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 AuditStatus.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="AuditStatus">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="All"/>
* <enumeration value="Info"/>
* <enumeration value="Warn"/>
* <enumeration value="Error"/>
* <enumeration value="None"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "AuditStatus")
@XmlEnum
public enum AuditStatus {
@XmlEnumValue("All")
ALL("All"),
@XmlEnumValue("Info")
INFO("Info"),
@XmlEnumValue("Warn")
WARN("Warn"),
@XmlEnumValue("Error")
ERROR("Error"),
@XmlEnumValue("None")
NONE("None");
private final String value;
AuditStatus(String v) {
value = v;
}
public String value() {
return value;
}
public static AuditStatus fromValue(String v) {
for (AuditStatus c: AuditStatus.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy