
com.sun.xml.ws.commons.virtualbox.TSBool Maven / Gradle / Ivy
package com.sun.xml.ws.commons.virtualbox;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for TSBool.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="TSBool">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="False"/>
* <enumeration value="True"/>
* <enumeration value="Default"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "TSBool")
@XmlEnum
public enum TSBool {
@XmlEnumValue("False")
FALSE("False"),
@XmlEnumValue("True")
TRUE("True"),
@XmlEnumValue("Default")
DEFAULT("Default");
private final String value;
TSBool(String v) {
value = v;
}
public String value() {
return value;
}
public static TSBool fromValue(String v) {
for (TSBool c: TSBool.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy