fish.focus.schema.exchange.v1.RuleValidationLevel Maven / Gradle / Ivy
package fish.focus.schema.exchange.v1;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for RuleValidationLevel.
*
*
The following schema fragment specifies the expected content contained within this class.
*
* <simpleType name="RuleValidationLevel">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="L00"/>
* <enumeration value="L01"/>
* <enumeration value="L02"/>
* <enumeration value="L03"/>
* <enumeration value="L099"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "RuleValidationLevel")
@XmlEnum
public enum RuleValidationLevel {
@XmlEnumValue("L00")
L_00("L00"),
@XmlEnumValue("L01")
L_01("L01"),
@XmlEnumValue("L02")
L_02("L02"),
@XmlEnumValue("L03")
L_03("L03"),
@XmlEnumValue("L099")
L_099("L099");
private final String value;
RuleValidationLevel(String v) {
value = v;
}
public String value() {
return value;
}
public static RuleValidationLevel fromValue(String v) {
for (RuleValidationLevel c: RuleValidationLevel.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}