org.hibernate.boot.jaxb.hbm.spi.JaxbHbmLazyWithNoProxyEnum 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: 2019.10.08 at 09:56:04 AM BST
//
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 LazyWithNoProxyEnum.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="LazyWithNoProxyEnum">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="false"/>
* <enumeration value="no-proxy"/>
* <enumeration value="proxy"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "LazyWithNoProxyEnum")
@XmlEnum
public enum JaxbHbmLazyWithNoProxyEnum {
@XmlEnumValue("false")
FALSE("false"),
@XmlEnumValue("no-proxy")
NO_PROXY("no-proxy"),
@XmlEnumValue("proxy")
PROXY("proxy");
private final String value;
JaxbHbmLazyWithNoProxyEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static JaxbHbmLazyWithNoProxyEnum fromValue(String v) {
for (JaxbHbmLazyWithNoProxyEnum c: JaxbHbmLazyWithNoProxyEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}