io.atlasmap.java.v2.Modifier Maven / Gradle / Ivy
package io.atlasmap.java.v2;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Modifier.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="Modifier">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="All"/>
* <enumeration value="Abstract"/>
* <enumeration value="Final"/>
* <enumeration value="Interface"/>
* <enumeration value="Native"/>
* <enumeration value="Package Private"/>
* <enumeration value="Public"/>
* <enumeration value="Protected"/>
* <enumeration value="Private"/>
* <enumeration value="Static"/>
* <enumeration value="Strict"/>
* <enumeration value="Synchronized"/>
* <enumeration value="Transient"/>
* <enumeration value="Volatile"/>
* <enumeration value="None"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "Modifier")
@XmlEnum
public enum Modifier {
@XmlEnumValue("All")
ALL("All"),
@XmlEnumValue("Abstract")
ABSTRACT("Abstract"),
@XmlEnumValue("Final")
FINAL("Final"),
@XmlEnumValue("Interface")
INTERFACE("Interface"),
@XmlEnumValue("Native")
NATIVE("Native"),
@XmlEnumValue("Package Private")
PACKAGE_PRIVATE("Package Private"),
@XmlEnumValue("Public")
PUBLIC("Public"),
@XmlEnumValue("Protected")
PROTECTED("Protected"),
@XmlEnumValue("Private")
PRIVATE("Private"),
@XmlEnumValue("Static")
STATIC("Static"),
@XmlEnumValue("Strict")
STRICT("Strict"),
@XmlEnumValue("Synchronized")
SYNCHRONIZED("Synchronized"),
@XmlEnumValue("Transient")
TRANSIENT("Transient"),
@XmlEnumValue("Volatile")
VOLATILE("Volatile"),
@XmlEnumValue("None")
NONE("None");
private final String value;
Modifier(String v) {
value = v;
}
public String value() {
return value;
}
public static Modifier fromValue(String v) {
for (Modifier c: Modifier.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy