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

org.hibernate.internal.jaxb.mapping.hbm.JaxbIdbagElement 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: 2014.07.16 at 04:28:04 PM PDT 
//


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

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for idbag-element complex type. * *

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

 * <complexType name="idbag-element">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="meta" type="{http://www.hibernate.org/xsd/hibernate-mapping}meta-element" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="subselect" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="cache" type="{http://www.hibernate.org/xsd/hibernate-mapping}cache-element" minOccurs="0"/>
 *         <element name="synchronize" type="{http://www.hibernate.org/xsd/hibernate-mapping}synchronize-element" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="collection-id">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="meta" type="{http://www.hibernate.org/xsd/hibernate-mapping}meta-element" maxOccurs="unbounded" minOccurs="0"/>
 *                   <element name="column" type="{http://www.hibernate.org/xsd/hibernate-mapping}column-element" maxOccurs="unbounded" minOccurs="0"/>
 *                   <element name="generator" type="{http://www.hibernate.org/xsd/hibernate-mapping}generator-element"/>
 *                 </sequence>
 *                 <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}string" />
 *                 <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="key" type="{http://www.hibernate.org/xsd/hibernate-mapping}key-element"/>
 *         <choice>
 *           <element name="element" type="{http://www.hibernate.org/xsd/hibernate-mapping}element-element"/>
 *           <element name="many-to-many" type="{http://www.hibernate.org/xsd/hibernate-mapping}many-to-many-element"/>
 *           <element name="composite-element" type="{http://www.hibernate.org/xsd/hibernate-mapping}composite-element-element"/>
 *           <element name="many-to-any" type="{http://www.hibernate.org/xsd/hibernate-mapping}many-to-any-element"/>
 *         </choice>
 *         <element name="loader" type="{http://www.hibernate.org/xsd/hibernate-mapping}loader-element" minOccurs="0"/>
 *         <element name="sql-insert" type="{http://www.hibernate.org/xsd/hibernate-mapping}sql-insert-element" minOccurs="0"/>
 *         <element name="sql-update" type="{http://www.hibernate.org/xsd/hibernate-mapping}sql-update-element" minOccurs="0"/>
 *         <element name="sql-delete" type="{http://www.hibernate.org/xsd/hibernate-mapping}sql-delete-element" minOccurs="0"/>
 *         <element name="sql-delete-all" type="{http://www.hibernate.org/xsd/hibernate-mapping}sql-delete-all-element" minOccurs="0"/>
 *         <element name="filter" type="{http://www.hibernate.org/xsd/hibernate-mapping}filter-element" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="batch-size" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="cascade" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="catalog" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="check" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="collection-type" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="embed-xml" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="fetch" type="{http://www.hibernate.org/xsd/hibernate-mapping}fetch-attribute-with-subselect" />
 *       <attribute name="lazy" type="{http://www.hibernate.org/xsd/hibernate-mapping}lazy-attribute-with-extra" />
 *       <attribute name="mutable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 *       <attribute name="order-by" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="outer-join" type="{http://www.hibernate.org/xsd/hibernate-mapping}outer-join-attribute" />
 *       <attribute name="persister" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="subselect" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="where" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "idbag-element", propOrder = { "meta", "subselect", "cache", "synchronize", "comment", "collectionId", "key", "element", "manyToMany", "compositeElement", "manyToAny", "loader", "sqlInsert", "sqlUpdate", "sqlDelete", "sqlDeleteAll", "filter" }) public class JaxbIdbagElement extends IdBagPluralAttributeElementAdapter implements PluralAttributeElement { protected List meta; protected String subselect; protected JaxbCacheElement cache; protected List synchronize; protected String comment; @XmlElement(name = "collection-id", required = true) protected JaxbIdbagElement.JaxbCollectionId collectionId; @XmlElement(required = true) protected JaxbKeyElement key; protected JaxbElementElement element; @XmlElement(name = "many-to-many") protected JaxbManyToManyElement manyToMany; @XmlElement(name = "composite-element") protected JaxbCompositeElementElement compositeElement; @XmlElement(name = "many-to-any") protected JaxbManyToAnyElement manyToAny; protected JaxbLoaderElement loader; @XmlElement(name = "sql-insert") protected JaxbSqlInsertElement sqlInsert; @XmlElement(name = "sql-update") protected JaxbSqlUpdateElement sqlUpdate; @XmlElement(name = "sql-delete") protected JaxbSqlDeleteElement sqlDelete; @XmlElement(name = "sql-delete-all") protected JaxbSqlDeleteAllElement sqlDeleteAll; protected List filter; @XmlAttribute protected String access; @XmlAttribute(name = "batch-size") protected String batchSize; @XmlAttribute protected String cascade; @XmlAttribute protected String catalog; @XmlAttribute protected String check; @XmlAttribute(name = "collection-type") protected String collectionType; @XmlAttribute(name = "embed-xml") protected Boolean embedXml; @XmlAttribute protected JaxbFetchAttributeWithSubselect fetch; @XmlAttribute protected JaxbLazyAttributeWithExtra lazy; @XmlAttribute protected Boolean mutable; @XmlAttribute(required = true) protected String name; @XmlAttribute protected String node; @XmlAttribute(name = "optimistic-lock") protected Boolean optimisticLock; @XmlAttribute(name = "order-by") protected String orderBy; @XmlAttribute(name = "outer-join") protected JaxbOuterJoinAttribute outerJoin; @XmlAttribute protected String persister; @XmlAttribute protected String schema; @XmlAttribute(name = "subselect") protected String subselectAttribute; @XmlAttribute protected String table; @XmlAttribute protected String where; /** * Gets the value of the meta 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 meta property. * *

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

     *    getMeta().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JaxbMetaElement } * * */ public List getMeta() { if (meta == null) { meta = new ArrayList(); } return this.meta; } /** * Gets the value of the subselect property. * * @return * possible object is * {@link String } * */ public String getSubselect() { return subselect; } /** * Sets the value of the subselect property. * * @param value * allowed object is * {@link String } * */ public void setSubselect(String value) { this.subselect = value; } /** * Gets the value of the cache property. * * @return * possible object is * {@link JaxbCacheElement } * */ public JaxbCacheElement getCache() { return cache; } /** * Sets the value of the cache property. * * @param value * allowed object is * {@link JaxbCacheElement } * */ public void setCache(JaxbCacheElement value) { this.cache = value; } /** * Gets the value of the synchronize 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 synchronize property. * *

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

     *    getSynchronize().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JaxbSynchronizeElement } * * */ public List getSynchronize() { if (synchronize == null) { synchronize = new ArrayList(); } return this.synchronize; } /** * 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 collectionId property. * * @return * possible object is * {@link JaxbIdbagElement.JaxbCollectionId } * */ public JaxbIdbagElement.JaxbCollectionId getCollectionId() { return collectionId; } /** * Sets the value of the collectionId property. * * @param value * allowed object is * {@link JaxbIdbagElement.JaxbCollectionId } * */ public void setCollectionId(JaxbIdbagElement.JaxbCollectionId value) { this.collectionId = value; } /** * Gets the value of the key property. * * @return * possible object is * {@link JaxbKeyElement } * */ public JaxbKeyElement getKey() { return key; } /** * Sets the value of the key property. * * @param value * allowed object is * {@link JaxbKeyElement } * */ public void setKey(JaxbKeyElement value) { this.key = value; } /** * Gets the value of the element property. * * @return * possible object is * {@link JaxbElementElement } * */ public JaxbElementElement getElement() { return element; } /** * Sets the value of the element property. * * @param value * allowed object is * {@link JaxbElementElement } * */ public void setElement(JaxbElementElement value) { this.element = value; } /** * Gets the value of the manyToMany property. * * @return * possible object is * {@link JaxbManyToManyElement } * */ public JaxbManyToManyElement getManyToMany() { return manyToMany; } /** * Sets the value of the manyToMany property. * * @param value * allowed object is * {@link JaxbManyToManyElement } * */ public void setManyToMany(JaxbManyToManyElement value) { this.manyToMany = value; } /** * Gets the value of the compositeElement property. * * @return * possible object is * {@link JaxbCompositeElementElement } * */ public JaxbCompositeElementElement getCompositeElement() { return compositeElement; } /** * Sets the value of the compositeElement property. * * @param value * allowed object is * {@link JaxbCompositeElementElement } * */ public void setCompositeElement(JaxbCompositeElementElement value) { this.compositeElement = value; } /** * Gets the value of the manyToAny property. * * @return * possible object is * {@link JaxbManyToAnyElement } * */ public JaxbManyToAnyElement getManyToAny() { return manyToAny; } /** * Sets the value of the manyToAny property. * * @param value * allowed object is * {@link JaxbManyToAnyElement } * */ public void setManyToAny(JaxbManyToAnyElement value) { this.manyToAny = value; } /** * Gets the value of the loader property. * * @return * possible object is * {@link JaxbLoaderElement } * */ public JaxbLoaderElement getLoader() { return loader; } /** * Sets the value of the loader property. * * @param value * allowed object is * {@link JaxbLoaderElement } * */ public void setLoader(JaxbLoaderElement value) { this.loader = value; } /** * Gets the value of the sqlInsert property. * * @return * possible object is * {@link JaxbSqlInsertElement } * */ public JaxbSqlInsertElement getSqlInsert() { return sqlInsert; } /** * Sets the value of the sqlInsert property. * * @param value * allowed object is * {@link JaxbSqlInsertElement } * */ public void setSqlInsert(JaxbSqlInsertElement value) { this.sqlInsert = value; } /** * Gets the value of the sqlUpdate property. * * @return * possible object is * {@link JaxbSqlUpdateElement } * */ public JaxbSqlUpdateElement getSqlUpdate() { return sqlUpdate; } /** * Sets the value of the sqlUpdate property. * * @param value * allowed object is * {@link JaxbSqlUpdateElement } * */ public void setSqlUpdate(JaxbSqlUpdateElement value) { this.sqlUpdate = value; } /** * Gets the value of the sqlDelete property. * * @return * possible object is * {@link JaxbSqlDeleteElement } * */ public JaxbSqlDeleteElement getSqlDelete() { return sqlDelete; } /** * Sets the value of the sqlDelete property. * * @param value * allowed object is * {@link JaxbSqlDeleteElement } * */ public void setSqlDelete(JaxbSqlDeleteElement value) { this.sqlDelete = value; } /** * Gets the value of the sqlDeleteAll property. * * @return * possible object is * {@link JaxbSqlDeleteAllElement } * */ public JaxbSqlDeleteAllElement getSqlDeleteAll() { return sqlDeleteAll; } /** * Sets the value of the sqlDeleteAll property. * * @param value * allowed object is * {@link JaxbSqlDeleteAllElement } * */ public void setSqlDeleteAll(JaxbSqlDeleteAllElement value) { this.sqlDeleteAll = value; } /** * Gets the value of the filter 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 filter property. * *

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

     *    getFilter().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JaxbFilterElement } * * */ public List getFilter() { if (filter == null) { filter = new ArrayList(); } return this.filter; } /** * Gets the value of the access property. * * @return * possible object is * {@link String } * */ public String getAccess() { return access; } /** * Sets the value of the access property. * * @param value * allowed object is * {@link String } * */ public void setAccess(String value) { this.access = value; } /** * Gets the value of the batchSize property. * * @return * possible object is * {@link String } * */ public String getBatchSize() { return batchSize; } /** * Sets the value of the batchSize property. * * @param value * allowed object is * {@link String } * */ public void setBatchSize(String value) { this.batchSize = value; } /** * Gets the value of the cascade property. * * @return * possible object is * {@link String } * */ public String getCascade() { return cascade; } /** * Sets the value of the cascade property. * * @param value * allowed object is * {@link String } * */ public void setCascade(String value) { this.cascade = value; } /** * Gets the value of the catalog property. * * @return * possible object is * {@link String } * */ public String getCatalog() { return catalog; } /** * Sets the value of the catalog property. * * @param value * allowed object is * {@link String } * */ public void setCatalog(String value) { this.catalog = value; } /** * Gets the value of the check property. * * @return * possible object is * {@link String } * */ public String getCheck() { return check; } /** * Sets the value of the check property. * * @param value * allowed object is * {@link String } * */ public void setCheck(String value) { this.check = value; } /** * Gets the value of the collectionType property. * * @return * possible object is * {@link String } * */ public String getCollectionType() { return collectionType; } /** * Sets the value of the collectionType property. * * @param value * allowed object is * {@link String } * */ public void setCollectionType(String value) { this.collectionType = value; } /** * Gets the value of the embedXml property. * * @return * possible object is * {@link Boolean } * */ public boolean isEmbedXml() { if (embedXml == null) { return true; } else { return embedXml; } } /** * Sets the value of the embedXml property. * * @param value * allowed object is * {@link Boolean } * */ public void setEmbedXml(Boolean value) { this.embedXml = value; } /** * Gets the value of the fetch property. * * @return * possible object is * {@link JaxbFetchAttributeWithSubselect } * */ public JaxbFetchAttributeWithSubselect getFetch() { return fetch; } /** * Sets the value of the fetch property. * * @param value * allowed object is * {@link JaxbFetchAttributeWithSubselect } * */ public void setFetch(JaxbFetchAttributeWithSubselect value) { this.fetch = value; } /** * Gets the value of the lazy property. * * @return * possible object is * {@link JaxbLazyAttributeWithExtra } * */ public JaxbLazyAttributeWithExtra getLazy() { return lazy; } /** * Sets the value of the lazy property. * * @param value * allowed object is * {@link JaxbLazyAttributeWithExtra } * */ public void setLazy(JaxbLazyAttributeWithExtra value) { this.lazy = value; } /** * Gets the value of the mutable property. * * @return * possible object is * {@link Boolean } * */ public boolean isMutable() { if (mutable == null) { return true; } else { return mutable; } } /** * Sets the value of the mutable property. * * @param value * allowed object is * {@link Boolean } * */ public void setMutable(Boolean value) { this.mutable = 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 node property. * * @return * possible object is * {@link String } * */ public String getNode() { return node; } /** * Sets the value of the node property. * * @param value * allowed object is * {@link String } * */ public void setNode(String value) { this.node = value; } /** * Gets the value of the optimisticLock property. * * @return * possible object is * {@link Boolean } * */ public boolean isOptimisticLock() { if (optimisticLock == null) { return true; } else { return optimisticLock; } } /** * Sets the value of the optimisticLock property. * * @param value * allowed object is * {@link Boolean } * */ public void setOptimisticLock(Boolean value) { this.optimisticLock = value; } /** * Gets the value of the orderBy property. * * @return * possible object is * {@link String } * */ public String getOrderBy() { return orderBy; } /** * Sets the value of the orderBy property. * * @param value * allowed object is * {@link String } * */ public void setOrderBy(String value) { this.orderBy = value; } /** * Gets the value of the outerJoin property. * * @return * possible object is * {@link JaxbOuterJoinAttribute } * */ public JaxbOuterJoinAttribute getOuterJoin() { return outerJoin; } /** * Sets the value of the outerJoin property. * * @param value * allowed object is * {@link JaxbOuterJoinAttribute } * */ public void setOuterJoin(JaxbOuterJoinAttribute value) { this.outerJoin = value; } /** * Gets the value of the persister property. * * @return * possible object is * {@link String } * */ public String getPersister() { return persister; } /** * Sets the value of the persister property. * * @param value * allowed object is * {@link String } * */ public void setPersister(String value) { this.persister = value; } /** * Gets the value of the schema property. * * @return * possible object is * {@link String } * */ public String getSchema() { return schema; } /** * Sets the value of the schema property. * * @param value * allowed object is * {@link String } * */ public void setSchema(String value) { this.schema = value; } /** * Gets the value of the subselectAttribute property. * * @return * possible object is * {@link String } * */ public String getSubselectAttribute() { return subselectAttribute; } /** * Sets the value of the subselectAttribute property. * * @param value * allowed object is * {@link String } * */ public void setSubselectAttribute(String value) { this.subselectAttribute = value; } /** * Gets the value of the table property. * * @return * possible object is * {@link String } * */ public String getTable() { return table; } /** * Sets the value of the table property. * * @param value * allowed object is * {@link String } * */ public void setTable(String value) { this.table = value; } /** * Gets the value of the where property. * * @return * possible object is * {@link String } * */ public String getWhere() { return where; } /** * Sets the value of the where property. * * @param value * allowed object is * {@link String } * */ public void setWhere(String value) { this.where = value; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="meta" type="{http://www.hibernate.org/xsd/hibernate-mapping}meta-element" maxOccurs="unbounded" minOccurs="0"/>
     *         <element name="column" type="{http://www.hibernate.org/xsd/hibernate-mapping}column-element" maxOccurs="unbounded" minOccurs="0"/>
     *         <element name="generator" type="{http://www.hibernate.org/xsd/hibernate-mapping}generator-element"/>
     *       </sequence>
     *       <attribute name="column" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}string" />
     *       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "meta", "column", "generator" }) public static class JaxbCollectionId { protected List meta; protected List column; @XmlElement(required = true) protected JaxbGeneratorElement generator; @XmlAttribute(name = "column", required = true) protected String columnAttribute; @XmlAttribute protected String length; @XmlAttribute(required = true) protected String type; /** * Gets the value of the meta 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 meta property. * *

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

         *    getMeta().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JaxbMetaElement } * * */ public List getMeta() { if (meta == null) { meta = new ArrayList(); } return this.meta; } /** * Gets the value of the column 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 column property. * *

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

         *    getColumn().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JaxbColumnElement } * * */ public List getColumn() { if (column == null) { column = new ArrayList(); } return this.column; } /** * Gets the value of the generator property. * * @return * possible object is * {@link JaxbGeneratorElement } * */ public JaxbGeneratorElement getGenerator() { return generator; } /** * Sets the value of the generator property. * * @param value * allowed object is * {@link JaxbGeneratorElement } * */ public void setGenerator(JaxbGeneratorElement value) { this.generator = value; } /** * Gets the value of the columnAttribute property. * * @return * possible object is * {@link String } * */ public String getColumnAttribute() { return columnAttribute; } /** * Sets the value of the columnAttribute property. * * @param value * allowed object is * {@link String } * */ public void setColumnAttribute(String value) { this.columnAttribute = value; } /** * Gets the value of the length property. * * @return * possible object is * {@link String } * */ public String getLength() { return length; } /** * Sets the value of the length property. * * @param value * allowed object is * {@link String } * */ public void setLength(String value) { this.length = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy