org.hibernate.boot.jaxb.hbm.spi.JaxbHbmLazyWithExtraEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2021.12.16 at 10:50:38 AM UTC
//
package org.hibernate.boot.jaxb.hbm.spi;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for LazyWithExtraEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="LazyWithExtraEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="extra"/>
* <enumeration value="false"/>
* <enumeration value="true"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "LazyWithExtraEnum", namespace = "http://www.hibernate.org/xsd/orm/hbm")
@XmlEnum
public enum JaxbHbmLazyWithExtraEnum {
@XmlEnumValue("extra")
EXTRA("extra"),
@XmlEnumValue("false")
FALSE("false"),
@XmlEnumValue("true")
TRUE("true");
private final String value;
JaxbHbmLazyWithExtraEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static JaxbHbmLazyWithExtraEnum fromValue(String v) {
for (JaxbHbmLazyWithExtraEnum c: JaxbHbmLazyWithExtraEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}