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

org.hibernate.internal.jaxb.mapping.hbm.JaxbCacheElement 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, vhudson-jaxb-ri-2.1-520 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2014.07.16 at 04:28:04 PM PDT 
//


package org.hibernate.internal.jaxb.mapping.hbm;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 

Java class for cache-element complex type. * *

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

 * <complexType name="cache-element">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <attribute name="include" default="all">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *             <enumeration value="all"/>
 *             <enumeration value="non-lazy"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="region" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="usage" use="required">
 *         <simpleType>
 *           <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>
 *       </attribute>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "cache-element") public class JaxbCacheElement { @XmlAttribute @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String include; @XmlAttribute protected String region; @XmlAttribute(required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String usage; /** * Gets the value of the include property. * * @return * possible object is * {@link String } * */ public String getInclude() { if (include == null) { return "all"; } else { return include; } } /** * Sets the value of the include property. * * @param value * allowed object is * {@link String } * */ public void setInclude(String value) { this.include = value; } /** * Gets the value of the region property. * * @return * possible object is * {@link String } * */ public String getRegion() { return region; } /** * Sets the value of the region property. * * @param value * allowed object is * {@link String } * */ public void setRegion(String value) { this.region = value; } /** * Gets the value of the usage property. * * @return * possible object is * {@link String } * */ public String getUsage() { return usage; } /** * Sets the value of the usage property. * * @param value * allowed object is * {@link String } * */ public void setUsage(String value) { this.usage = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy