org.hibernate.internal.jaxb.mapping.hbm.JaxbLazyAttributeWithExtra Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.07.16 at 04:28:04 PM PDT
//
package org.hibernate.internal.jaxb.mapping.hbm;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for lazy-attribute-with-extra.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="lazy-attribute-with-extra">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="extra"/>
* <enumeration value="false"/>
* <enumeration value="true"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "lazy-attribute-with-extra")
@XmlEnum
public enum JaxbLazyAttributeWithExtra {
@XmlEnumValue("extra")
EXTRA("extra"),
@XmlEnumValue("false")
FALSE("false"),
@XmlEnumValue("true")
TRUE("true");
private final String value;
JaxbLazyAttributeWithExtra(String v) {
value = v;
}
public String value() {
return value;
}
public static JaxbLazyAttributeWithExtra fromValue(String v) {
for (JaxbLazyAttributeWithExtra c: JaxbLazyAttributeWithExtra.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}