org.hibernate.jpamodelgen.xml.jaxb.PersistenceUnitValidationModeType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.01.26 at 05:01:10 PM PST
//
package org.hibernate.jpamodelgen.xml.jaxb;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for persistence-unit-validation-mode-type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="persistence-unit-validation-mode-type">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="AUTO"/>
* <enumeration value="CALLBACK"/>
* <enumeration value="NONE"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "persistence-unit-validation-mode-type", namespace = "http://xmlns.jcp.org/xml/ns/persistence")
@XmlEnum
public enum PersistenceUnitValidationModeType {
AUTO,
CALLBACK,
NONE;
public String value() {
return name();
}
public static PersistenceUnitValidationModeType fromValue(String v) {
return valueOf(v);
}
}