Class JaxbHbmDiscriminatorSubclassEntityType
- 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.JaxbHbmDiscriminatorSubclassEntityType
-
- All Implemented Interfaces:
Serializable,Discriminatable,EntityInfo,ResultSetMappingContainer,SecondaryTableContainer,SubEntityInfo,ToolingHintContainer
public class JaxbHbmDiscriminatorSubclassEntityType extends JaxbHbmSubclassEntityBaseDefinition implements Serializable, Discriminatable, SecondaryTableContainer, SubEntityInfo, ToolingHintContainer
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 regardingvs. @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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Serializable>attributesprotected StringdiscriminatorValueprotected List<JaxbHbmFetchProfileType>fetchProfileprotected List<JaxbHbmSecondaryTableType>joinprotected JaxbHbmLoaderTypeloaderprotected List<JaxbHbmNamedQueryType>queryprotected List<JaxbHbmResultSetMappingType>resultsetprotected JaxbHbmCustomSqlDmlTypesqlDeleteprotected JaxbHbmCustomSqlDmlTypesqlInsertprotected List<JaxbHbmNamedNativeQueryType>sqlQueryprotected JaxbHbmCustomSqlDmlTypesqlUpdateprotected List<JaxbHbmDiscriminatorSubclassEntityType>subclassprotected List<JaxbHbmSynchronizeType>synchronizeprotected List<JaxbHbmTuplizerType>tuplizer-
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 JaxbHbmDiscriminatorSubclassEntityType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Serializable>getAttributes()Gets the value of the attributes property.StringgetDiscriminatorValue()Gets the value of the discriminatorValue property.List<JaxbHbmFetchProfileType>getFetchProfile()Gets the value of the fetchProfile property.List<JaxbHbmSecondaryTableType>getJoin()Gets the value of the join property.JaxbHbmLoaderTypegetLoader()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.JaxbHbmCustomSqlDmlTypegetSqlDelete()Gets the value of the sqlDelete property.JaxbHbmCustomSqlDmlTypegetSqlInsert()Gets the value of the sqlInsert property.List<JaxbHbmNamedNativeQueryType>getSqlQuery()Gets the value of the sqlQuery property.JaxbHbmCustomSqlDmlTypegetSqlUpdate()Gets the value of the sqlUpdate property.List<JaxbHbmDiscriminatorSubclassEntityType>getSubclass()Gets the value of the subclass property.List<JaxbHbmSynchronizeType>getSynchronize()Gets the value of the synchronize property.List<JaxbHbmTuplizerType>getTuplizer()Gets the value of the tuplizer property.voidsetDiscriminatorValue(String value)Sets the value of the discriminatorValue property.voidsetLoader(JaxbHbmLoaderType value)Sets the value of the loader 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.-
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
-
synchronize
protected List<JaxbHbmSynchronizeType> synchronize
-
attributes
protected List<Serializable> attributes
-
join
protected List<JaxbHbmSecondaryTableType> join
-
subclass
protected List<JaxbHbmDiscriminatorSubclassEntityType> subclass
-
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
-
discriminatorValue
protected String discriminatorValue
-
-
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
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
-
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
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
-
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
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
JaxbHbmAnyAssociationTypeJaxbHbmArrayTypeJaxbHbmBagCollectionTypeJaxbHbmBasicAttributeTypeJaxbHbmCompositeAttributeTypeJaxbHbmDynamicComponentTypeJaxbHbmIdBagCollectionTypeJaxbHbmListTypeJaxbHbmManyToOneTypeJaxbHbmMapTypeJaxbHbmOneToOneTypeJaxbHbmPrimitiveArrayTypeJaxbHbmPropertiesTypeJaxbHbmSetType- Specified by:
getAttributesin interfaceEntityInfo
-
getJoin
public List<JaxbHbmSecondaryTableType> getJoin()
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 Jakarta XML Binding object. This is why there is not a
setmethod 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
JaxbHbmSecondaryTableType- Specified by:
getJoinin interfaceSecondaryTableContainer
-
getSubclass
public List<JaxbHbmDiscriminatorSubclassEntityType> getSubclass()
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 Jakarta XML Binding object. This is why there is not a
setmethod 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
JaxbHbmDiscriminatorSubclassEntityType
-
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 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
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 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
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- Specified by:
getResultsetin interfaceResultSetMappingContainer
-
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
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 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
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
-
getDiscriminatorValue
public String getDiscriminatorValue()
Gets the value of the discriminatorValue property.- Specified by:
getDiscriminatorValuein interfaceDiscriminatable- Returns:
- possible object is
String
-
-