org.hibernate.jpamodelgen.xml.jaxb.PersistenceUnitCachingType 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-caching-type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="persistence-unit-caching-type">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="ALL"/>
* <enumeration value="NONE"/>
* <enumeration value="ENABLE_SELECTIVE"/>
* <enumeration value="DISABLE_SELECTIVE"/>
* <enumeration value="UNSPECIFIED"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "persistence-unit-caching-type", namespace = "http://xmlns.jcp.org/xml/ns/persistence")
@XmlEnum
public enum PersistenceUnitCachingType {
ALL,
NONE,
ENABLE_SELECTIVE,
DISABLE_SELECTIVE,
UNSPECIFIED;
public String value() {
return name();
}
public static PersistenceUnitCachingType fromValue(String v) {
return valueOf(v);
}
}