jdplus.x13.base.xml.RegressionTestEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdplus-x13-base-xml Show documentation
Show all versions of jdplus-x13-base-xml Show documentation
${project.parent.artifactId} - ${project.artifactId}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package jdplus.x13.base.xml;
import jdplus.x13.base.api.regarima.RegressionTestSpec;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlAdapter;
/**
*
* Java class for TradingDaysTestEnum.
*
*
* The following schema fragment specifies the expected content contained within
* this class.
*
* <
* pre>
* <simpleType name="TradingDaysTestEnum"> <restriction
* base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration
* value="JointF"/> <enumeration value="T"/> </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "RegressionTestEnum")
@XmlEnum
public enum RegressionTestEnum {
@XmlEnumValue("None")
NONE("None"),
ADD("Add"),
REMOVE("Remove");
private final String value;
RegressionTestEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static RegressionTestEnum fromValue(String v) {
for (RegressionTestEnum c : RegressionTestEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
public static class Adapter extends XmlAdapter© 2015 - 2025 Weber Informatics LLC | Privacy Policy