001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 003// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2018.12.10 at 03:02:30 PM PST 006// 007 008 009package org.microbean.jpa.jaxb; 010 011import javax.xml.bind.annotation.XmlEnum; 012import javax.xml.bind.annotation.XmlType; 013 014 015/** 016 * <p>Java class for persistence-unit-caching-type. 017 * 018 * <p>The following schema fragment specifies the expected content contained within this class. 019 * <p> 020 * <pre> 021 * <simpleType name="persistence-unit-caching-type"> 022 * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> 023 * <enumeration value="ALL"/> 024 * <enumeration value="NONE"/> 025 * <enumeration value="ENABLE_SELECTIVE"/> 026 * <enumeration value="DISABLE_SELECTIVE"/> 027 * <enumeration value="UNSPECIFIED"/> 028 * </restriction> 029 * </simpleType> 030 * </pre> 031 * 032 */ 033@XmlType(name = "persistence-unit-caching-type", namespace = "http://xmlns.jcp.org/xml/ns/persistence") 034@XmlEnum 035public enum PersistenceUnitCachingType { 036 037 ALL, 038 NONE, 039 ENABLE_SELECTIVE, 040 DISABLE_SELECTIVE, 041 UNSPECIFIED; 042 043 public String value() { 044 return name(); 045 } 046 047 public static PersistenceUnitCachingType fromValue(String v) { 048 return valueOf(v); 049 } 050 051}