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:
java.io.Serializable,EntityInfo,SubEntityInfo,TableInformationContainer,ToolingHintContainer
public class JaxbHbmUnionSubclassEntityType extends JaxbHbmSubclassEntityBaseDefinition implements java.io.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 java.util.List<java.io.Serializable>attributesprotected java.lang.Stringcatalogprotected java.lang.Stringcheckprotected java.lang.Stringcommentprotected java.util.List<JaxbHbmFetchProfileType>fetchProfileprotected JaxbHbmLoaderTypeloaderprotected java.util.List<JaxbHbmNamedQueryType>queryprotected java.util.List<JaxbHbmResultSetMappingType>resultsetprotected java.lang.Stringschemaprotected JaxbHbmCustomSqlDmlTypesqlDeleteprotected JaxbHbmCustomSqlDmlTypesqlInsertprotected java.util.List<JaxbHbmNamedNativeQueryType>sqlQueryprotected JaxbHbmCustomSqlDmlTypesqlUpdateprotected java.lang.Stringsubselectprotected java.lang.StringsubselectAttributeprotected java.util.List<JaxbHbmSynchronizeType>synchronizeprotected java.lang.Stringtableprotected java.util.List<JaxbHbmTuplizerType>tuplizerprotected java.util.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 java.util.List<java.io.Serializable>getAttributes()Gets the value of the attributes property.java.lang.StringgetCatalog()Gets the value of the catalog property.java.lang.StringgetCheck()Gets the value of the check property.java.lang.StringgetComment()Gets the value of the comment property.java.util.List<JaxbHbmFetchProfileType>getFetchProfile()Gets the value of the fetchProfile property.JaxbHbmLoaderTypegetLoader()Gets the value of the loader property.java.util.List<JaxbHbmNamedQueryType>getQuery()Gets the value of the query property.java.util.List<JaxbHbmResultSetMappingType>getResultset()Gets the value of the resultset property.java.lang.StringgetSchema()Gets the value of the schema property.JaxbHbmCustomSqlDmlTypegetSqlDelete()Gets the value of the sqlDelete property.JaxbHbmCustomSqlDmlTypegetSqlInsert()Gets the value of the sqlInsert property.java.util.List<JaxbHbmNamedNativeQueryType>getSqlQuery()Gets the value of the sqlQuery property.JaxbHbmCustomSqlDmlTypegetSqlUpdate()Gets the value of the sqlUpdate property.java.lang.StringgetSubselect()Gets the value of the subselect property.java.lang.StringgetSubselectAttribute()Gets the value of the subselectAttribute property.java.util.List<JaxbHbmSynchronizeType>getSynchronize()Gets the value of the synchronize property.java.lang.StringgetTable()Gets the value of the table property.java.util.List<JaxbHbmTuplizerType>getTuplizer()Gets the value of the tuplizer property.java.util.List<JaxbHbmUnionSubclassEntityType>getUnionSubclass()Gets the value of the unionSubclass property.voidsetCatalog(java.lang.String value)Sets the value of the catalog property.voidsetCheck(java.lang.String value)Sets the value of the check property.voidsetComment(java.lang.String value)Sets the value of the comment property.voidsetLoader(JaxbHbmLoaderType value)Sets the value of the loader property.voidsetSchema(java.lang.String value)Sets the value of the schema property.voidsetSqlDelete(JaxbHbmCustomSqlDmlType value)Sets the value of the sqlDelete property.voidsetSqlInsert(JaxbHbmCustomSqlDmlType value)Sets the value of the sqlInsert property.voidsetSqlUpdate(JaxbHbmCustomSqlDmlType value)Sets the value of the sqlUpdate property.voidsetSubselect(java.lang.String value)Sets the value of the subselect property.voidsetSubselectAttribute(java.lang.String value)Sets the value of the subselectAttribute property.voidsetTable(java.lang.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 java.util.List<JaxbHbmTuplizerType> tuplizer
-
subselect
protected java.lang.String subselect
-
synchronize
protected java.util.List<JaxbHbmSynchronizeType> synchronize
-
comment
protected java.lang.String comment
-
attributes
protected java.util.List<java.io.Serializable> attributes
-
unionSubclass
protected java.util.List<JaxbHbmUnionSubclassEntityType> unionSubclass
-
loader
protected JaxbHbmLoaderType loader
-
sqlInsert
protected JaxbHbmCustomSqlDmlType sqlInsert
-
sqlUpdate
protected JaxbHbmCustomSqlDmlType sqlUpdate
-
sqlDelete
protected JaxbHbmCustomSqlDmlType sqlDelete
-
fetchProfile
protected java.util.List<JaxbHbmFetchProfileType> fetchProfile
-
resultset
protected java.util.List<JaxbHbmResultSetMappingType> resultset
-
query
protected java.util.List<JaxbHbmNamedQueryType> query
-
sqlQuery
protected java.util.List<JaxbHbmNamedNativeQueryType> sqlQuery
-
check
protected java.lang.String check
-
schema
protected java.lang.String schema
-
catalog
protected java.lang.String catalog
-
table
protected java.lang.String table
-
subselectAttribute
protected java.lang.String subselectAttribute
-
-
Method Detail
-
getTuplizer
public java.util.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 JAXB object. This is why there is not a
setmethod 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:
getTuplizerin interfaceEntityInfo
-
getSubselect
public java.lang.String getSubselect()
Gets the value of the subselect property.- Specified by:
getSubselectin interfaceTableInformationContainer- Returns:
- possible object is
String
-
setSubselect
public void setSubselect(java.lang.String value)
Sets the value of the subselect property.- Parameters:
value- allowed object isString
-
getSynchronize
public java.util.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 JAXB object. This is why there is not a
setmethod 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:
getSynchronizein interfaceEntityInfo
-
getComment
public java.lang.String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(java.lang.String value)
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
getAttributes
public java.util.List<java.io.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 JAXB object. This is why there is not a
setmethod 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
JaxbHbmIdBagCollectionTypeJaxbHbmBasicAttributeTypeJaxbHbmManyToOneTypeJaxbHbmOneToOneTypeJaxbHbmCompositeAttributeTypeJaxbHbmDynamicComponentTypeJaxbHbmPropertiesTypeJaxbHbmAnyAssociationTypeJaxbHbmMapTypeJaxbHbmSetTypeJaxbHbmListTypeJaxbHbmBagCollectionTypeJaxbHbmArrayTypeJaxbHbmPrimitiveArrayType- Specified by:
getAttributesin interfaceEntityInfo
-
getUnionSubclass
public java.util.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 JAXB object. This is why there is not a
setmethod 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
-
getLoader
public JaxbHbmLoaderType getLoader()
Gets the value of the loader property.- Specified by:
getLoaderin 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:
getSqlInsertin 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:
getSqlUpdatein 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:
getSqlDeletein 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 java.util.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 JAXB object. This is why there is not a
setmethod 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:
getFetchProfilein interfaceEntityInfo
-
getResultset
public java.util.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 JAXB object. This is why there is not a
setmethod 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:
getResultsetin interfaceEntityInfo
-
getQuery
public java.util.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 JAXB object. This is why there is not a
setmethod 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:
getQueryin interfaceEntityInfo
-
getSqlQuery
public java.util.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 JAXB object. This is why there is not a
setmethod 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:
getSqlQueryin interfaceEntityInfo
-
getCheck
public java.lang.String getCheck()
Gets the value of the check property.- Returns:
- possible object is
String
-
setCheck
public void setCheck(java.lang.String value)
Sets the value of the check property.- Parameters:
value- allowed object isString
-
getSchema
public java.lang.String getSchema()
Gets the value of the schema property.- Specified by:
getSchemain interfaceTableInformationContainer- Returns:
- possible object is
String
-
setSchema
public void setSchema(java.lang.String value)
Sets the value of the schema property.- Parameters:
value- allowed object isString
-
getCatalog
public java.lang.String getCatalog()
Gets the value of the catalog property.- Specified by:
getCatalogin interfaceTableInformationContainer- Returns:
- possible object is
String
-
setCatalog
public void setCatalog(java.lang.String value)
Sets the value of the catalog property.- Parameters:
value- allowed object isString
-
getTable
public java.lang.String getTable()
Gets the value of the table property.- Specified by:
getTablein interfaceTableInformationContainer- Returns:
- possible object is
String
-
setTable
public void setTable(java.lang.String value)
Sets the value of the table property.- Parameters:
value- allowed object isString
-
getSubselectAttribute
public java.lang.String getSubselectAttribute()
Gets the value of the subselectAttribute property.- Specified by:
getSubselectAttributein interfaceTableInformationContainer- Returns:
- possible object is
String
-
setSubselectAttribute
public void setSubselectAttribute(java.lang.String value)
Sets the value of the subselectAttribute property.- Parameters:
value- allowed object isString
-
-