org.hibernate.boot.jaxb.hbm.spi.JaxbHbmDiscriminatorSubclassEntityType 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.01.19 at 06:36:52 PM CET
//
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;
/**
*
* Subclass declarations are nested beneath the root class declaration to achieve
* polymorphic persistence with the table-per-hierarchy mapping strategy.
* See the note on the class element regarding vs. @name usage...
*
*
* Java class for DiscriminatorSubclassEntityType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DiscriminatorSubclassEntityType">
* <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="synchronize" type="{http://www.hibernate.org/xsd/orm/hbm}synchronize-type" maxOccurs="unbounded" minOccurs="0"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <group ref="{http://www.hibernate.org/xsd/orm/hbm}SingularAttributeGroup"/>
* <element name="idbag" type="{http://www.hibernate.org/xsd/orm/hbm}IdBagCollectionType"/>
* </choice>
* <element name="join" type="{http://www.hibernate.org/xsd/orm/hbm}SecondaryTableType" maxOccurs="unbounded" minOccurs="0"/>
* <element name="subclass" type="{http://www.hibernate.org/xsd/orm/hbm}DiscriminatorSubclassEntityType" 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>
* <attribute name="discriminator-value" type="{http://www.w3.org/2001/XMLSchema}string" />
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DiscriminatorSubclassEntityType", propOrder = {
"tuplizer",
"synchronize",
"attributes",
"join",
"subclass",
"loader",
"sqlInsert",
"sqlUpdate",
"sqlDelete",
"fetchProfile",
"resultset",
"query",
"sqlQuery"
})
public class JaxbHbmDiscriminatorSubclassEntityType
extends JaxbHbmSubclassEntityBaseDefinition
implements Serializable, SecondaryTableContainer, SubEntityInfo, ToolingHintContainer
{
protected List tuplizer;
protected List synchronize;
@XmlElements({
@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),
@XmlElement(name = "idbag", type = JaxbHbmIdBagCollectionType.class)
})
protected List attributes;
protected List join;
protected List subclass;
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 = "discriminator-value")
protected String discriminatorValue;
/**
* 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 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 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 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 }
* {@link JaxbHbmIdBagCollectionType }
*
*
*/
public List getAttributes() {
if (attributes == null) {
attributes = new ArrayList();
}
return this.attributes;
}
/**
* Gets the value of the join 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 join property.
*
*
* For example, to add a new item, do as follows:
*
* getJoin().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JaxbHbmSecondaryTableType }
*
*
*/
public List getJoin() {
if (join == null) {
join = new ArrayList();
}
return this.join;
}
/**
* Gets the value of the subclass 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 subclass property.
*
*
* For example, to add a new item, do as follows:
*
* getSubclass().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JaxbHbmDiscriminatorSubclassEntityType }
*
*
*/
public List getSubclass() {
if (subclass == null) {
subclass = new ArrayList();
}
return this.subclass;
}
/**
* 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 discriminatorValue property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDiscriminatorValue() {
return discriminatorValue;
}
/**
* Sets the value of the discriminatorValue property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDiscriminatorValue(String value) {
this.discriminatorValue = value;
}
}