weka.core.pmml.jaxbbindings.FIELDUSAGETYPE Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of weka-dev Show documentation
Show all versions of weka-dev Show documentation
The Waikato Environment for Knowledge Analysis (WEKA), a machine
learning workbench. This version represents the developer version, the
"bleeding edge" of development, you could say. New functionality gets added
to this version.
//
// 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 FIELD-USAGE-TYPE.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="FIELD-USAGE-TYPE">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="active"/>
* <enumeration value="predicted"/>
* <enumeration value="supplementary"/>
* <enumeration value="group"/>
* <enumeration value="order"/>
* <enumeration value="frequencyWeight"/>
* <enumeration value="analysisWeight"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlEnum
public enum FIELDUSAGETYPE {
@XmlEnumValue("active")
ACTIVE("active"),
@XmlEnumValue("analysisWeight")
ANALYSIS_WEIGHT("analysisWeight"),
@XmlEnumValue("frequencyWeight")
FREQUENCY_WEIGHT("frequencyWeight"),
@XmlEnumValue("group")
GROUP("group"),
@XmlEnumValue("order")
ORDER("order"),
@XmlEnumValue("predicted")
PREDICTED("predicted"),
@XmlEnumValue("supplementary")
SUPPLEMENTARY("supplementary");
private final String value;
FIELDUSAGETYPE(String v) {
value = v;
}
public String value() {
return value;
}
public static FIELDUSAGETYPE fromValue(String v) {
for (FIELDUSAGETYPE c: FIELDUSAGETYPE.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}