io.atlasmap.v2.ValidationScope 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 ValidationScope.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ValidationScope">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="All"/>
* <enumeration value="DataSource"/>
* <enumeration value="Mapping"/>
* <enumeration value="LookupTable"/>
* <enumeration value="Constant"/>
* <enumeration value="Property"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ValidationScope")
@XmlEnum
public enum ValidationScope {
@XmlEnumValue("All")
ALL("All"),
@XmlEnumValue("DataSource")
DATA_SOURCE("DataSource"),
@XmlEnumValue("Mapping")
MAPPING("Mapping"),
@XmlEnumValue("LookupTable")
LOOKUP_TABLE("LookupTable"),
@XmlEnumValue("Constant")
CONSTANT("Constant"),
@XmlEnumValue("Property")
PROPERTY("Property");
private final String value;
ValidationScope(String v) {
value = v;
}
public String value() {
return value;
}
public static ValidationScope fromValue(String v) {
for (ValidationScope c: ValidationScope.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy