Class JaxbHbmUnionSubclassEntityType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmEntityBaseDefinition
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmSubclassEntityBaseDefinition
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmUnionSubclassEntityType
-
- All Implemented Interfaces:
Serializable
,EntityInfo
,ResultSetMappingContainer
,SubEntityInfo
,TableInformationContainer
,ToolingHintContainer
public class JaxbHbmUnionSubclassEntityType extends JaxbHbmSubclassEntityBaseDefinition implements Serializable, SubEntityInfo, TableInformationContainer, ToolingHintContainer
Union subclasses are used for the table-per-concrete-class mapping strategy See the note on the class element regardingvs. @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>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Serializable>
attributes
protected String
catalog
protected String
check
protected String
comment
protected List<JaxbHbmFetchProfileType>
fetchProfile
protected JaxbHbmLoaderType
loader
protected List<JaxbHbmNamedQueryType>
query
protected List<JaxbHbmResultSetMappingType>
resultset
protected String
schema
protected JaxbHbmCustomSqlDmlType
sqlDelete
protected JaxbHbmCustomSqlDmlType
sqlInsert
protected List<JaxbHbmNamedNativeQueryType>
sqlQuery
protected JaxbHbmCustomSqlDmlType
sqlUpdate
protected String
subselect
protected String
subselectAttribute
protected List<JaxbHbmSynchronizeType>
synchronize
protected String
table
protected List<JaxbHbmTuplizerType>
tuplizer
protected List<JaxbHbmUnionSubclassEntityType>
unionSubclass
-
Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmSubclassEntityBaseDefinition
_extends
-
Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmEntityBaseDefinition
_abstract, batchSize, dynamicInsert, dynamicUpdate, entityName, lazy, name, node, persister, proxy, selectBeforeUpdate
-
Fields inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
toolingHints
-
-
Constructor Summary
Constructors Constructor Description JaxbHbmUnionSubclassEntityType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Serializable>
getAttributes()
Gets the value of the attributes property.String
getCatalog()
Gets the value of the catalog property.String
getCheck()
Gets the value of the check property.String
getComment()
Gets the value of the comment property.List<JaxbHbmFetchProfileType>
getFetchProfile()
Gets the value of the fetchProfile property.JaxbHbmLoaderType
getLoader()
Gets the value of the loader property.List<JaxbHbmNamedQueryType>
getQuery()
Gets the value of the query property.List<JaxbHbmResultSetMappingType>
getResultset()
Gets the value of the resultset property.String
getSchema()
Gets the value of the schema property.JaxbHbmCustomSqlDmlType
getSqlDelete()
Gets the value of the sqlDelete property.JaxbHbmCustomSqlDmlType
getSqlInsert()
Gets the value of the sqlInsert property.List<JaxbHbmNamedNativeQueryType>
getSqlQuery()
Gets the value of the sqlQuery property.JaxbHbmCustomSqlDmlType
getSqlUpdate()
Gets the value of the sqlUpdate property.String
getSubselect()
Gets the value of the subselect property.String
getSubselectAttribute()
Gets the value of the subselectAttribute property.List<JaxbHbmSynchronizeType>
getSynchronize()
Gets the value of the synchronize property.String
getTable()
Gets the value of the table property.List<JaxbHbmTuplizerType>
getTuplizer()
Gets the value of the tuplizer property.List<JaxbHbmUnionSubclassEntityType>
getUnionSubclass()
Gets the value of the unionSubclass property.void
setCatalog(String value)
Sets the value of the catalog property.void
setCheck(String value)
Sets the value of the check property.void
setComment(String value)
Sets the value of the comment property.void
setLoader(JaxbHbmLoaderType value)
Sets the value of the loader property.void
setSchema(String value)
Sets the value of the schema property.void
setSqlDelete(JaxbHbmCustomSqlDmlType value)
Sets the value of the sqlDelete property.void
setSqlInsert(JaxbHbmCustomSqlDmlType value)
Sets the value of the sqlInsert property.void
setSqlUpdate(JaxbHbmCustomSqlDmlType value)
Sets the value of the sqlUpdate property.void
setSubselect(String value)
Sets the value of the subselect property.void
setSubselectAttribute(String value)
Sets the value of the subselectAttribute property.void
setTable(String value)
Sets the value of the table property.-
Methods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmSubclassEntityBaseDefinition
getExtends, setExtends
-
Methods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmEntityBaseDefinition
getBatchSize, getEntityName, getName, getNode, getPersister, getProxy, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate, setAbstract, setBatchSize, setDynamicInsert, setDynamicUpdate, setEntityName, setLazy, setName, setNode, setPersister, setProxy, setSelectBeforeUpdate
-
Methods inherited from class org.hibernate.boot.jaxb.hbm.spi.JaxbHbmToolingHintContainer
getToolingHints
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.boot.jaxb.hbm.spi.EntityInfo
getBatchSize, getEntityName, getName, getPersister, getProxy, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate
-
Methods inherited from interface org.hibernate.boot.jaxb.hbm.spi.SubEntityInfo
getExtends
-
Methods inherited from interface org.hibernate.boot.jaxb.hbm.spi.ToolingHintContainer
getToolingHints
-
-
-
-
Field Detail
-
tuplizer
protected List<JaxbHbmTuplizerType> tuplizer
-
subselect
protected String subselect
-
synchronize
protected List<JaxbHbmSynchronizeType> synchronize
-
comment
protected String comment
-
attributes
protected List<Serializable> attributes
-
unionSubclass
protected List<JaxbHbmUnionSubclassEntityType> unionSubclass
-
loader
protected JaxbHbmLoaderType loader
-
sqlInsert
protected JaxbHbmCustomSqlDmlType sqlInsert
-
sqlUpdate
protected JaxbHbmCustomSqlDmlType sqlUpdate
-
sqlDelete
protected JaxbHbmCustomSqlDmlType sqlDelete
-
fetchProfile
protected List<JaxbHbmFetchProfileType> fetchProfile
-
resultset
protected List<JaxbHbmResultSetMappingType> resultset
-
query
protected List<JaxbHbmNamedQueryType> query
-
sqlQuery
protected List<JaxbHbmNamedNativeQueryType> sqlQuery
-
check
protected String check
-
schema
protected String schema
-
catalog
protected String catalog
-
table
protected String table
-
subselectAttribute
protected String subselectAttribute
-
-
Method Detail
-
getTuplizer
public List<JaxbHbmTuplizerType> getTuplizer()
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 Jakarta XML Binding 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
JaxbHbmTuplizerType
- Specified by:
getTuplizer
in interfaceEntityInfo
- Returns:
- The value of the tuplizer property.
-
getSubselect
public String getSubselect()
Gets the value of the subselect property.- Specified by:
getSubselect
in interfaceTableInformationContainer
- Returns:
- possible object is
String
-
setSubselect
public void setSubselect(String value)
Sets the value of the subselect property.- Parameters:
value
- allowed object isString
-
getSynchronize
public List<JaxbHbmSynchronizeType> getSynchronize()
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 Jakarta XML Binding 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
JaxbHbmSynchronizeType
- Specified by:
getSynchronize
in interfaceEntityInfo
- Returns:
- The value of the synchronize property.
-
getComment
public String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(String value)
Sets the value of the comment property.- Parameters:
value
- allowed object isString
-
getAttributes
public List<Serializable> getAttributes()
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 Jakarta XML Binding 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
JaxbHbmAnyAssociationType
JaxbHbmArrayType
JaxbHbmBagCollectionType
JaxbHbmBasicAttributeType
JaxbHbmCompositeAttributeType
JaxbHbmDynamicComponentType
JaxbHbmIdBagCollectionType
JaxbHbmListType
JaxbHbmManyToOneType
JaxbHbmMapType
JaxbHbmOneToOneType
JaxbHbmPrimitiveArrayType
JaxbHbmPropertiesType
JaxbHbmSetType
- Specified by:
getAttributes
in interfaceEntityInfo
- Returns:
- The value of the attributes property.
-
getUnionSubclass
public List<JaxbHbmUnionSubclassEntityType> getUnionSubclass()
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 Jakarta XML Binding 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
JaxbHbmUnionSubclassEntityType
- Returns:
- The value of the unionSubclass property.
-
getLoader
public JaxbHbmLoaderType getLoader()
Gets the value of the loader property.- Specified by:
getLoader
in interfaceEntityInfo
- Returns:
- possible object is
JaxbHbmLoaderType
-
setLoader
public void setLoader(JaxbHbmLoaderType value)
Sets the value of the loader property.- Parameters:
value
- allowed object isJaxbHbmLoaderType
-
getSqlInsert
public JaxbHbmCustomSqlDmlType getSqlInsert()
Gets the value of the sqlInsert property.- Specified by:
getSqlInsert
in interfaceEntityInfo
- Returns:
- possible object is
JaxbHbmCustomSqlDmlType
-
setSqlInsert
public void setSqlInsert(JaxbHbmCustomSqlDmlType value)
Sets the value of the sqlInsert property.- Parameters:
value
- allowed object isJaxbHbmCustomSqlDmlType
-
getSqlUpdate
public JaxbHbmCustomSqlDmlType getSqlUpdate()
Gets the value of the sqlUpdate property.- Specified by:
getSqlUpdate
in interfaceEntityInfo
- Returns:
- possible object is
JaxbHbmCustomSqlDmlType
-
setSqlUpdate
public void setSqlUpdate(JaxbHbmCustomSqlDmlType value)
Sets the value of the sqlUpdate property.- Parameters:
value
- allowed object isJaxbHbmCustomSqlDmlType
-
getSqlDelete
public JaxbHbmCustomSqlDmlType getSqlDelete()
Gets the value of the sqlDelete property.- Specified by:
getSqlDelete
in interfaceEntityInfo
- Returns:
- possible object is
JaxbHbmCustomSqlDmlType
-
setSqlDelete
public void setSqlDelete(JaxbHbmCustomSqlDmlType value)
Sets the value of the sqlDelete property.- Parameters:
value
- allowed object isJaxbHbmCustomSqlDmlType
-
getFetchProfile
public List<JaxbHbmFetchProfileType> getFetchProfile()
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 Jakarta XML Binding 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
JaxbHbmFetchProfileType
- Specified by:
getFetchProfile
in interfaceEntityInfo
- Returns:
- The value of the fetchProfile property.
-
getResultset
public List<JaxbHbmResultSetMappingType> getResultset()
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 Jakarta XML Binding 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
JaxbHbmResultSetMappingType
- Specified by:
getResultset
in interfaceEntityInfo
- Specified by:
getResultset
in interfaceResultSetMappingContainer
- Returns:
- The value of the resultset property.
-
getQuery
public List<JaxbHbmNamedQueryType> getQuery()
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 Jakarta XML Binding 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
JaxbHbmNamedQueryType
- Specified by:
getQuery
in interfaceEntityInfo
- Returns:
- The value of the query property.
-
getSqlQuery
public List<JaxbHbmNamedNativeQueryType> getSqlQuery()
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 Jakarta XML Binding 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
JaxbHbmNamedNativeQueryType
- Specified by:
getSqlQuery
in interfaceEntityInfo
- Returns:
- The value of the sqlQuery property.
-
getCheck
public String getCheck()
Gets the value of the check property.- Returns:
- possible object is
String
-
setCheck
public void setCheck(String value)
Sets the value of the check property.- Parameters:
value
- allowed object isString
-
getSchema
public String getSchema()
Gets the value of the schema property.- Specified by:
getSchema
in interfaceTableInformationContainer
- Returns:
- possible object is
String
-
setSchema
public void setSchema(String value)
Sets the value of the schema property.- Parameters:
value
- allowed object isString
-
getCatalog
public String getCatalog()
Gets the value of the catalog property.- Specified by:
getCatalog
in interfaceTableInformationContainer
- Returns:
- possible object is
String
-
setCatalog
public void setCatalog(String value)
Sets the value of the catalog property.- Parameters:
value
- allowed object isString
-
getTable
public String getTable()
Gets the value of the table property.- Specified by:
getTable
in interfaceTableInformationContainer
- Returns:
- possible object is
String
-
setTable
public void setTable(String value)
Sets the value of the table property.- Parameters:
value
- allowed object isString
-
getSubselectAttribute
public String getSubselectAttribute()
Gets the value of the subselectAttribute property.- Specified by:
getSubselectAttribute
in interfaceTableInformationContainer
- Returns:
- possible object is
String
-
-