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

org.hibernate.internal.jaxb.mapping.hbm.JaxbSqlQueryElement Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
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: 2013.05.22 at 01:35:13 PM EDT 
//


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

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlElementRefs;
import javax.xml.bind.annotation.XmlMixed;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for sql-query-element complex type. * *

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

 * <complexType name="sql-query-element">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice maxOccurs="unbounded" minOccurs="0">
 *         <element name="return-scalar" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-scalar-element"/>
 *         <element name="return" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-element"/>
 *         <element name="return-join" type="{http://www.hibernate.org/xsd/hibernate-mapping}return-join-element"/>
 *         <element name="load-collection" type="{http://www.hibernate.org/xsd/hibernate-mapping}load-collection-element"/>
 *         <element name="synchronize" type="{http://www.hibernate.org/xsd/hibernate-mapping}synchronize-element"/>
 *         <element name="query-param" type="{http://www.hibernate.org/xsd/hibernate-mapping}query-param-element"/>
 *       </choice>
 *       <attribute name="cache-mode" type="{http://www.hibernate.org/xsd/hibernate-mapping}cache-mode-attribute" />
 *       <attribute name="cache-region" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="cacheable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="callable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="comment" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="fetch-size" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="flush-mode" type="{http://www.hibernate.org/xsd/hibernate-mapping}flush-mode-attribute" />
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="read-only" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="resultset-ref" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="timeout" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "sql-query-element", propOrder = { "content" }) public class JaxbSqlQueryElement { @XmlElementRefs({ @XmlElementRef(name = "load-collection", namespace = "http://www.hibernate.org/xsd/hibernate-mapping", type = JAXBElement.class), @XmlElementRef(name = "return-scalar", namespace = "http://www.hibernate.org/xsd/hibernate-mapping", type = JAXBElement.class), @XmlElementRef(name = "query-param", namespace = "http://www.hibernate.org/xsd/hibernate-mapping", type = JAXBElement.class), @XmlElementRef(name = "synchronize", namespace = "http://www.hibernate.org/xsd/hibernate-mapping", type = JAXBElement.class), @XmlElementRef(name = "return", namespace = "http://www.hibernate.org/xsd/hibernate-mapping", type = JAXBElement.class), @XmlElementRef(name = "return-join", namespace = "http://www.hibernate.org/xsd/hibernate-mapping", type = JAXBElement.class) }) @XmlMixed protected List content; @XmlAttribute(name = "cache-mode") protected JaxbCacheModeAttribute cacheMode; @XmlAttribute(name = "cache-region") protected String cacheRegion; @XmlAttribute protected Boolean cacheable; @XmlAttribute protected Boolean callable; @XmlAttribute protected String comment; @XmlAttribute(name = "fetch-size") protected String fetchSize; @XmlAttribute(name = "flush-mode") protected JaxbFlushModeAttribute flushMode; @XmlAttribute(required = true) protected String name; @XmlAttribute(name = "read-only") protected Boolean readOnly; @XmlAttribute(name = "resultset-ref") protected String resultsetRef; @XmlAttribute protected String timeout; /** * Gets the value of the content property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the content property. * *

* For example, to add a new item, do as follows: *

     *    getContent().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * {@link JAXBElement }{@code <}{@link JaxbLoadCollectionElement }{@code >} * {@link JAXBElement }{@code <}{@link JaxbReturnScalarElement }{@code >} * {@link JAXBElement }{@code <}{@link JaxbQueryParamElement }{@code >} * {@link JAXBElement }{@code <}{@link JaxbSynchronizeElement }{@code >} * {@link JAXBElement }{@code <}{@link JaxbReturnElement }{@code >} * {@link JAXBElement }{@code <}{@link JaxbReturnJoinElement }{@code >} * * */ public List getContent() { if (content == null) { content = new ArrayList(); } return this.content; } /** * Gets the value of the cacheMode property. * * @return * possible object is * {@link JaxbCacheModeAttribute } * */ public JaxbCacheModeAttribute getCacheMode() { return cacheMode; } /** * Sets the value of the cacheMode property. * * @param value * allowed object is * {@link JaxbCacheModeAttribute } * */ public void setCacheMode(JaxbCacheModeAttribute value) { this.cacheMode = 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 cacheable property. * * @return * possible object is * {@link Boolean } * */ public boolean isCacheable() { if (cacheable == null) { return false; } else { return cacheable; } } /** * Sets the value of the cacheable property. * * @param value * allowed object is * {@link Boolean } * */ public void setCacheable(Boolean value) { this.cacheable = value; } /** * Gets the value of the callable property. * * @return * possible object is * {@link Boolean } * */ public boolean isCallable() { if (callable == null) { return false; } else { return callable; } } /** * Sets the value of the callable property. * * @param value * allowed object is * {@link Boolean } * */ public void setCallable(Boolean value) { this.callable = 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 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 flushMode property. * * @return * possible object is * {@link JaxbFlushModeAttribute } * */ public JaxbFlushModeAttribute getFlushMode() { return flushMode; } /** * Sets the value of the flushMode property. * * @param value * allowed object is * {@link JaxbFlushModeAttribute } * */ public void setFlushMode(JaxbFlushModeAttribute value) { this.flushMode = 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 readOnly property. * * @return * possible object is * {@link Boolean } * */ public Boolean isReadOnly() { return readOnly; } /** * Sets the value of the readOnly property. * * @param value * allowed object is * {@link Boolean } * */ public void setReadOnly(Boolean value) { this.readOnly = value; } /** * Gets the value of the resultsetRef property. * * @return * possible object is * {@link String } * */ public String getResultsetRef() { return resultsetRef; } /** * Sets the value of the resultsetRef property. * * @param value * allowed object is * {@link String } * */ public void setResultsetRef(String value) { this.resultsetRef = 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; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy