![JAR search and dependency download from the Maven repository](/logo.png)
io.github.oliviercailloux.xmcda_2_2_1_jaxb.X2Status Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmcda-2.2.1-jaxb Show documentation
Show all versions of xmcda-2.2.1-jaxb Show documentation
Java source for (un)marshalling XMCDA-2.2.1 files, JAXB-generated from the schema.
The newest version!
//
// 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: 2016.11.10 at 09:49:41 PM CET
//
package io.github.oliviercailloux.xmcda_2_2_1_jaxb;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for status.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="status">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="active"/>
* <enumeration value="inactive"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "status")
@XmlEnum
public enum X2Status {
@XmlEnumValue("active")
ACTIVE("active"),
@XmlEnumValue("inactive")
INACTIVE("inactive");
private final String value;
X2Status(String v) {
value = v;
}
public String value() {
return value;
}
public static X2Status fromValue(String v) {
for (X2Status c: X2Status.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy