org.jvnet.hyperjaxb3.hibernate.customizations.BooleanString Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.01.30 at 01:23:35 PM CET
//
package org.jvnet.hyperjaxb3.hibernate.customizations;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
/**
* Java class for booleanString.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="booleanString">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="true"/>
* <enumeration value="false"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlEnum
public enum BooleanString {
@XmlEnumValue("true")
TRUE("true"),
@XmlEnumValue("false")
FALSE("false");
private final String value;
BooleanString(String v) {
value = v;
}
public String value() {
return value;
}
public static BooleanString fromValue(String v) {
for (BooleanString c: BooleanString.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy