All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.boot.jaxb.cfg.spi.JaxbCfgCacheUsageEnum Maven / Gradle / Ivy

There is a newer version: 6.5.0.CR2
Show newest version
//
// 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: 2017.04.14 at 12:21:23 PM CEST 
//


package org.hibernate.boot.jaxb.cfg.spi;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for CacheUsageEnum. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="CacheUsageEnum">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     <enumeration value="nonstrict-read-write"/>
 *     <enumeration value="read-only"/>
 *     <enumeration value="read-write"/>
 *     <enumeration value="transactional"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "CacheUsageEnum") @XmlEnum public enum JaxbCfgCacheUsageEnum { @XmlEnumValue("nonstrict-read-write") NONSTRICT_READ_WRITE("nonstrict-read-write"), @XmlEnumValue("read-only") READ_ONLY("read-only"), @XmlEnumValue("read-write") READ_WRITE("read-write"), @XmlEnumValue("transactional") TRANSACTIONAL("transactional"); private final String value; JaxbCfgCacheUsageEnum(String v) { value = v; } public String value() { return value; } public static JaxbCfgCacheUsageEnum fromValue(String v) { for (JaxbCfgCacheUsageEnum c: JaxbCfgCacheUsageEnum.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy