org.jvnet.hyperjaxb3.hibernate.mapping.Query Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.01.30 at 01:23:09 PM CET
//
package org.jvnet.hyperjaxb3.hibernate.mapping;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"value"
})
@XmlRootElement(name = "query")
public class Query {
@XmlAttribute(required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String name;
@XmlAttribute(name = "flush-mode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String flushMode;
@XmlAttribute
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String cacheable;
@XmlAttribute(name = "cache-region")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String cacheRegion;
@XmlAttribute(name = "fetch-size")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String fetchSize;
@XmlAttribute
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String timeout;
@XmlAttribute(name = "cache-mode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String cacheMode;
@XmlAttribute(name = "read-only")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String readOnly;
@XmlAttribute
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
protected String comment;
@XmlValue
protected String value;
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the flushMode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFlushMode() {
return flushMode;
}
/**
* Sets the value of the flushMode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFlushMode(String value) {
this.flushMode = value;
}
/**
* Gets the value of the cacheable property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCacheable() {
if (cacheable == null) {
return "false";
} else {
return cacheable;
}
}
/**
* Sets the value of the cacheable property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCacheable(String value) {
this.cacheable = value;
}
/**
* Gets the value of the cacheRegion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCacheRegion() {
return cacheRegion;
}
/**
* Sets the value of the cacheRegion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCacheRegion(String value) {
this.cacheRegion = value;
}
/**
* Gets the value of the fetchSize property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFetchSize() {
return fetchSize;
}
/**
* Sets the value of the fetchSize property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFetchSize(String value) {
this.fetchSize = value;
}
/**
* Gets the value of the timeout property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTimeout() {
return timeout;
}
/**
* Sets the value of the timeout property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTimeout(String value) {
this.timeout = value;
}
/**
* Gets the value of the cacheMode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCacheMode() {
return cacheMode;
}
/**
* Sets the value of the cacheMode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCacheMode(String value) {
this.cacheMode = value;
}
/**
* Gets the value of the readOnly property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReadOnly() {
return readOnly;
}
/**
* Sets the value of the readOnly property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReadOnly(String value) {
this.readOnly = value;
}
/**
* Gets the value of the comment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComment() {
return comment;
}
/**
* Sets the value of the comment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComment(String value) {
this.comment = value;
}
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getvalue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setvalue(String value) {
this.value = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy