org.hibernate.boot.jaxb.hbm.spi.JaxbHbmUnionSubclassEntityType Maven / Gradle / Ivy
Show all versions of hibernate-core Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.10.08 at 09:56:04 AM BST
//
package org.hibernate.boot.jaxb.hbm.spi;
import java.io.Serializable;
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;
/**
*
* Union subclasses are used for the table-per-concrete-class mapping strategy
* See the note on the class element regarding vs. @name usage...
*
*
* Java class for UnionSubclassEntityType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="UnionSubclassEntityType">
* <complexContent>
* <extension base="{http://www.hibernate.org/xsd/orm/hbm}SubclassEntityBaseDefinition">
* <sequence>
* <element name="tuplizer" type="{http://www.hibernate.org/xsd/orm/hbm}tuplizer-type" 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/orm/hbm}synchronize-type" maxOccurs="unbounded" minOccurs="0"/>
* <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="idbag" type="{http://www.hibernate.org/xsd/orm/hbm}IdBagCollectionType"/>
* <group ref="{http://www.hibernate.org/xsd/orm/hbm}SingularAttributeGroup"/>
* </choice>
* <element name="union-subclass" type="{http://www.hibernate.org/xsd/orm/hbm}UnionSubclassEntityType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="loader" type="{http://www.hibernate.org/xsd/orm/hbm}loader-type" minOccurs="0"/>
* <group ref="{http://www.hibernate.org/xsd/orm/hbm}CustomSqlDmlGroup" minOccurs="0"/>
* <element name="fetch-profile" type="{http://www.hibernate.org/xsd/orm/hbm}FetchProfileType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="resultset" type="{http://www.hibernate.org/xsd/orm/hbm}ResultSetMappingType" maxOccurs="unbounded" minOccurs="0"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <group ref="{http://www.hibernate.org/xsd/orm/hbm}NamedQueryGroup"/>
* </choice>
* </sequence>
* <attGroup ref="{http://www.hibernate.org/xsd/orm/hbm}table-information-group"/>
* <attribute name="check" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "UnionSubclassEntityType", propOrder = {
"tuplizer",
"subselect",
"synchronize",
"comment",
"attributes",
"unionSubclass",
"loader",
"sqlInsert",
"sqlUpdate",
"sqlDelete",
"fetchProfile",
"resultset",
"query",
"sqlQuery"
})
public class JaxbHbmUnionSubclassEntityType
extends JaxbHbmSubclassEntityBaseDefinition
implements Serializable, SubEntityInfo, TableInformationContainer, ToolingHintContainer
{
protected List tuplizer;
protected String subselect;
protected List synchronize;
protected String comment;
@XmlElements({
@XmlElement(name = "idbag", type = JaxbHbmIdBagCollectionType.class),
@XmlElement(name = "property", type = JaxbHbmBasicAttributeType.class),
@XmlElement(name = "many-to-one", type = JaxbHbmManyToOneType.class),
@XmlElement(name = "one-to-one", type = JaxbHbmOneToOneType.class),
@XmlElement(name = "component", type = JaxbHbmCompositeAttributeType.class),
@XmlElement(name = "dynamic-component", type = JaxbHbmDynamicComponentType.class),
@XmlElement(name = "properties", type = JaxbHbmPropertiesType.class),
@XmlElement(name = "any", type = JaxbHbmAnyAssociationType.class),
@XmlElement(name = "map", type = JaxbHbmMapType.class),
@XmlElement(name = "set", type = JaxbHbmSetType.class),
@XmlElement(name = "list", type = JaxbHbmListType.class),
@XmlElement(name = "bag", type = JaxbHbmBagCollectionType.class),
@XmlElement(name = "array", type = JaxbHbmArrayType.class),
@XmlElement(name = "primitive-array", type = JaxbHbmPrimitiveArrayType.class)
})
protected List attributes;
@XmlElement(name = "union-subclass")
protected List unionSubclass;
protected JaxbHbmLoaderType loader;
@XmlElement(name = "sql-insert")
protected JaxbHbmCustomSqlDmlType sqlInsert;
@XmlElement(name = "sql-update")
protected JaxbHbmCustomSqlDmlType sqlUpdate;
@XmlElement(name = "sql-delete")
protected JaxbHbmCustomSqlDmlType sqlDelete;
@XmlElement(name = "fetch-profile")
protected List fetchProfile;
protected List resultset;
protected List query;
@XmlElement(name = "sql-query")
protected List sqlQuery;
@XmlAttribute(name = "check")
protected String check;
@XmlAttribute(name = "schema")
protected String schema;
@XmlAttribute(name = "catalog")
protected String catalog;
@XmlAttribute(name = "table")
protected String table;
@XmlAttribute(name = "subselect")
protected String subselectAttribute;
/**
* 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 JaxbHbmTuplizerType }
*
*
*/
public List getTuplizer() {
if (tuplizer == null) {
tuplizer = new ArrayList();
}
return this.tuplizer;
}
/**
* 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 JaxbHbmSynchronizeType }
*
*
*/
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 attributes 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 attributes property.
*
*
* For example, to add a new item, do as follows:
*
* getAttributes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JaxbHbmIdBagCollectionType }
* {@link JaxbHbmBasicAttributeType }
* {@link JaxbHbmManyToOneType }
* {@link JaxbHbmOneToOneType }
* {@link JaxbHbmCompositeAttributeType }
* {@link JaxbHbmDynamicComponentType }
* {@link JaxbHbmPropertiesType }
* {@link JaxbHbmAnyAssociationType }
* {@link JaxbHbmMapType }
* {@link JaxbHbmSetType }
* {@link JaxbHbmListType }
* {@link JaxbHbmBagCollectionType }
* {@link JaxbHbmArrayType }
* {@link JaxbHbmPrimitiveArrayType }
*
*
*/
public List getAttributes() {
if (attributes == null) {
attributes = new ArrayList();
}
return this.attributes;
}
/**
* 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 JaxbHbmUnionSubclassEntityType }
*
*
*/
public List getUnionSubclass() {
if (unionSubclass == null) {
unionSubclass = new ArrayList();
}
return this.unionSubclass;
}
/**
* Gets the value of the loader property.
*
* @return
* possible object is
* {@link JaxbHbmLoaderType }
*
*/
public JaxbHbmLoaderType getLoader() {
return loader;
}
/**
* Sets the value of the loader property.
*
* @param value
* allowed object is
* {@link JaxbHbmLoaderType }
*
*/
public void setLoader(JaxbHbmLoaderType value) {
this.loader = value;
}
/**
* Gets the value of the sqlInsert property.
*
* @return
* possible object is
* {@link JaxbHbmCustomSqlDmlType }
*
*/
public JaxbHbmCustomSqlDmlType getSqlInsert() {
return sqlInsert;
}
/**
* Sets the value of the sqlInsert property.
*
* @param value
* allowed object is
* {@link JaxbHbmCustomSqlDmlType }
*
*/
public void setSqlInsert(JaxbHbmCustomSqlDmlType value) {
this.sqlInsert = value;
}
/**
* Gets the value of the sqlUpdate property.
*
* @return
* possible object is
* {@link JaxbHbmCustomSqlDmlType }
*
*/
public JaxbHbmCustomSqlDmlType getSqlUpdate() {
return sqlUpdate;
}
/**
* Sets the value of the sqlUpdate property.
*
* @param value
* allowed object is
* {@link JaxbHbmCustomSqlDmlType }
*
*/
public void setSqlUpdate(JaxbHbmCustomSqlDmlType value) {
this.sqlUpdate = value;
}
/**
* Gets the value of the sqlDelete property.
*
* @return
* possible object is
* {@link JaxbHbmCustomSqlDmlType }
*
*/
public JaxbHbmCustomSqlDmlType getSqlDelete() {
return sqlDelete;
}
/**
* Sets the value of the sqlDelete property.
*
* @param value
* allowed object is
* {@link JaxbHbmCustomSqlDmlType }
*
*/
public void setSqlDelete(JaxbHbmCustomSqlDmlType value) {
this.sqlDelete = value;
}
/**
* 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 JaxbHbmFetchProfileType }
*
*
*/
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 JaxbHbmResultSetMappingType }
*
*
*/
public List getResultset() {
if (resultset == null) {
resultset = new ArrayList();
}
return this.resultset;
}
/**
* Gets the value of the query 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 query property.
*
*
* For example, to add a new item, do as follows:
*
* getQuery().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JaxbHbmNamedQueryType }
*
*
*/
public List getQuery() {
if (query == null) {
query = new ArrayList();
}
return this.query;
}
/**
* Gets the value of the sqlQuery 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 sqlQuery property.
*
*
* For example, to add a new item, do as follows:
*
* getSqlQuery().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JaxbHbmNamedNativeQueryType }
*
*
*/
public List getSqlQuery() {
if (sqlQuery == null) {
sqlQuery = new ArrayList();
}
return this.sqlQuery;
}
/**
* 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 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 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 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 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;
}
}