weka.core.pmml.jaxbbindings.TIMEEXCEPTIONTYPE Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.12.20 at 12:48:21 PM GMT
//
package weka.core.pmml.jaxbbindings;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
/**
* Java class for TIME-EXCEPTION-TYPE.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="TIME-EXCEPTION-TYPE">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="exclude"/>
* <enumeration value="include"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlEnum
public enum TIMEEXCEPTIONTYPE {
@XmlEnumValue("exclude")
EXCLUDE("exclude"),
@XmlEnumValue("include")
INCLUDE("include");
private final String value;
TIMEEXCEPTIONTYPE(String v) {
value = v;
}
public String value() {
return value;
}
public static TIMEEXCEPTIONTYPE fromValue(String v) {
for (TIMEEXCEPTIONTYPE c: TIMEEXCEPTIONTYPE.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}