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

org.hibernate.internal.jaxb.mapping.hbm.JaxbUnionSubclassElement 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.XmlElements;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for union-subclass-element complex type. * *

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

 * <complexType name="union-subclass-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="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="tuplizer" type="{http://www.hibernate.org/xsd/hibernate-mapping}tuplizer-element" maxOccurs="unbounded" minOccurs="0"/>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element name="property" type="{http://www.hibernate.org/xsd/hibernate-mapping}property-element"/>
 *           <element name="many-to-one" type="{http://www.hibernate.org/xsd/hibernate-mapping}many-to-one-element"/>
 *           <element name="one-to-one" type="{http://www.hibernate.org/xsd/hibernate-mapping}one-to-one-element"/>
 *           <element name="component" type="{http://www.hibernate.org/xsd/hibernate-mapping}component-element"/>
 *           <element name="dynamic-component" type="{http://www.hibernate.org/xsd/hibernate-mapping}dynamic-component-element"/>
 *           <element name="properties" type="{http://www.hibernate.org/xsd/hibernate-mapping}properties-element"/>
 *           <element name="any" type="{http://www.hibernate.org/xsd/hibernate-mapping}any-element"/>
 *           <element name="map" type="{http://www.hibernate.org/xsd/hibernate-mapping}map-element"/>
 *           <element name="set" type="{http://www.hibernate.org/xsd/hibernate-mapping}set-element"/>
 *           <element name="list" type="{http://www.hibernate.org/xsd/hibernate-mapping}list-element"/>
 *           <element name="bag" type="{http://www.hibernate.org/xsd/hibernate-mapping}bag-element"/>
 *           <element name="idbag" type="{http://www.hibernate.org/xsd/hibernate-mapping}idbag-element"/>
 *           <element name="array" type="{http://www.hibernate.org/xsd/hibernate-mapping}array-element"/>
 *           <element name="primitive-array" type="{http://www.hibernate.org/xsd/hibernate-mapping}primitive-array-element"/>
 *         </choice>
 *         <element name="union-subclass" type="{http://www.hibernate.org/xsd/hibernate-mapping}union-subclass-element" maxOccurs="unbounded" minOccurs="0"/>
 *         <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="filter" type="{http://www.hibernate.org/xsd/hibernate-mapping}filter-element" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="fetch-profile" type="{http://www.hibernate.org/xsd/hibernate-mapping}fetch-profile-element" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="resultset" type="{http://www.hibernate.org/xsd/hibernate-mapping}resultset-element" maxOccurs="unbounded" minOccurs="0"/>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element name="query" type="{http://www.hibernate.org/xsd/hibernate-mapping}query-element"/>
 *           <element name="sql-query" type="{http://www.hibernate.org/xsd/hibernate-mapping}sql-query-element"/>
 *         </choice>
 *       </sequence>
 *       <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="batch-size" 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="dynamic-insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="dynamic-update" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="entity-name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="extends" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="persister" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="proxy" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="schema" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="select-before-update" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *       <attribute name="subselect" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "union-subclass-element", propOrder = { "meta", "subselect", "synchronize", "comment", "tuplizer", "propertyOrManyToOneOrOneToOne", "unionSubclass", "loader", "sqlInsert", "sqlUpdate", "sqlDelete", "filter", "fetchProfile", "resultset", "queryOrSqlQuery" }) public class JaxbUnionSubclassElement implements SubEntityElement { protected List meta; protected String subselect; protected List synchronize; protected String comment; protected List tuplizer; @XmlElements({ @XmlElement(name = "property", type = JaxbPropertyElement.class), @XmlElement(name = "map", type = JaxbMapElement.class), @XmlElement(name = "bag", type = JaxbBagElement.class), @XmlElement(name = "array", type = JaxbArrayElement.class), @XmlElement(name = "properties", type = JaxbPropertiesElement.class), @XmlElement(name = "dynamic-component", type = JaxbDynamicComponentElement.class), @XmlElement(name = "many-to-one", type = JaxbManyToOneElement.class), @XmlElement(name = "any", type = JaxbAnyElement.class), @XmlElement(name = "one-to-one", type = JaxbOneToOneElement.class), @XmlElement(name = "component", type = JaxbComponentElement.class), @XmlElement(name = "set", type = JaxbSetElement.class), @XmlElement(name = "idbag", type = JaxbIdbagElement.class), @XmlElement(name = "primitive-array", type = JaxbPrimitiveArrayElement.class), @XmlElement(name = "list", type = JaxbListElement.class) }) protected List propertyOrManyToOneOrOneToOne; @XmlElement(name = "union-subclass") protected List unionSubclass; protected JaxbLoaderElement loader; @XmlElement(name = "sql-insert") protected JaxbSqlInsertElement sqlInsert; @XmlElement(name = "sql-update") protected JaxbSqlUpdateElement sqlUpdate; @XmlElement(name = "sql-delete") protected JaxbSqlDeleteElement sqlDelete; protected List filter; @XmlElement(name = "fetch-profile") protected List fetchProfile; protected List resultset; @XmlElements({ @XmlElement(name = "query", type = JaxbQueryElement.class), @XmlElement(name = "sql-query", type = JaxbSqlQueryElement.class) }) protected List queryOrSqlQuery; @XmlAttribute(name = "abstract") protected Boolean _abstract; @XmlAttribute(name = "batch-size") protected String batchSize; @XmlAttribute protected String catalog; @XmlAttribute protected String check; @XmlAttribute(name = "dynamic-insert") protected Boolean dynamicInsert; @XmlAttribute(name = "dynamic-update") protected Boolean dynamicUpdate; @XmlAttribute(name = "entity-name") protected String entityName; @XmlAttribute(name = "extends") protected String _extends; @XmlAttribute protected Boolean lazy; @XmlAttribute protected String name; @XmlAttribute protected String node; @XmlAttribute protected String persister; @XmlAttribute protected String proxy; @XmlAttribute protected String schema; @XmlAttribute(name = "select-before-update") protected Boolean selectBeforeUpdate; @XmlAttribute(name = "subselect") protected String subselectAttribute; @XmlAttribute protected String table; /** * 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 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 tuplizer 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 tuplizer property. * *

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

     *    getTuplizer().add(newItem);
     * 
* * *

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

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

     *    getPropertyOrManyToOneOrOneToOne().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JaxbPropertyElement } * {@link JaxbMapElement } * {@link JaxbBagElement } * {@link JaxbArrayElement } * {@link JaxbPropertiesElement } * {@link JaxbDynamicComponentElement } * {@link JaxbManyToOneElement } * {@link JaxbAnyElement } * {@link JaxbOneToOneElement } * {@link JaxbComponentElement } * {@link JaxbSetElement } * {@link JaxbIdbagElement } * {@link JaxbPrimitiveArrayElement } * {@link JaxbListElement } * * */ public List getPropertyOrManyToOneOrOneToOne() { if (propertyOrManyToOneOrOneToOne == null) { propertyOrManyToOneOrOneToOne = new ArrayList(); } return this.propertyOrManyToOneOrOneToOne; } /** * Gets the value of the unionSubclass 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 unionSubclass property. * *

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

     *    getUnionSubclass().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JaxbUnionSubclassElement } * * */ public List getUnionSubclass() { if (unionSubclass == null) { unionSubclass = new ArrayList(); } return this.unionSubclass; } /** * 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 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 fetchProfile 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 fetchProfile property. * *

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

     *    getFetchProfile().add(newItem);
     * 
* * *

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

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

     *    getResultset().add(newItem);
     * 
* * *

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

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

     *    getQueryOrSqlQuery().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JaxbQueryElement } * {@link JaxbSqlQueryElement } * * */ public List getQueryOrSqlQuery() { if (queryOrSqlQuery == null) { queryOrSqlQuery = new ArrayList(); } return this.queryOrSqlQuery; } /** * Gets the value of the abstract property. * * @return * possible object is * {@link Boolean } * */ public Boolean isAbstract() { return _abstract; } /** * Sets the value of the abstract property. * * @param value * allowed object is * {@link Boolean } * */ public void setAbstract(Boolean value) { this._abstract = 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 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 dynamicInsert property. * * @return * possible object is * {@link Boolean } * */ public boolean isDynamicInsert() { if (dynamicInsert == null) { return false; } else { return dynamicInsert; } } /** * Sets the value of the dynamicInsert property. * * @param value * allowed object is * {@link Boolean } * */ public void setDynamicInsert(Boolean value) { this.dynamicInsert = value; } /** * Gets the value of the dynamicUpdate property. * * @return * possible object is * {@link Boolean } * */ public boolean isDynamicUpdate() { if (dynamicUpdate == null) { return false; } else { return dynamicUpdate; } } /** * Sets the value of the dynamicUpdate property. * * @param value * allowed object is * {@link Boolean } * */ public void setDynamicUpdate(Boolean value) { this.dynamicUpdate = value; } /** * Gets the value of the entityName property. * * @return * possible object is * {@link String } * */ public String getEntityName() { return entityName; } /** * Sets the value of the entityName property. * * @param value * allowed object is * {@link String } * */ public void setEntityName(String value) { this.entityName = value; } /** * Gets the value of the extends property. * * @return * possible object is * {@link String } * */ public String getExtends() { return _extends; } /** * Sets the value of the extends property. * * @param value * allowed object is * {@link String } * */ public void setExtends(String value) { this._extends = value; } /** * Gets the value of the lazy property. * * @return * possible object is * {@link Boolean } * */ public Boolean isLazy() { return lazy; } /** * Sets the value of the lazy property. * * @param value * allowed object is * {@link Boolean } * */ public void setLazy(Boolean value) { this.lazy = 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 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 proxy property. * * @return * possible object is * {@link String } * */ public String getProxy() { return proxy; } /** * Sets the value of the proxy property. * * @param value * allowed object is * {@link String } * */ public void setProxy(String value) { this.proxy = 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 selectBeforeUpdate property. * * @return * possible object is * {@link Boolean } * */ public boolean isSelectBeforeUpdate() { if (selectBeforeUpdate == null) { return false; } else { return selectBeforeUpdate; } } /** * Sets the value of the selectBeforeUpdate property. * * @param value * allowed object is * {@link Boolean } * */ public void setSelectBeforeUpdate(Boolean value) { this.selectBeforeUpdate = 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; } }