public class JaxbHbmDiscriminatorSubclassEntityType extends JaxbHbmSubclassEntityBaseDefinition implements Serializable, 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 regarding <pojo/> vs. @name usage…
<p>Java class for DiscriminatorSubclassEntityType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
Modifier and Type | Field and Description |
---|---|
protected List<Serializable> |
attributes |
protected String |
discriminatorValue |
protected List<JaxbHbmFetchProfileType> |
fetchProfile |
protected List<JaxbHbmSecondaryTableType> |
join |
protected JaxbHbmLoaderType |
loader |
protected List<JaxbHbmNamedQueryType> |
query |
protected List<JaxbHbmResultSetMappingType> |
resultset |
protected JaxbHbmCustomSqlDmlType |
sqlDelete |
protected JaxbHbmCustomSqlDmlType |
sqlInsert |
protected List<JaxbHbmNamedNativeQueryType> |
sqlQuery |
protected JaxbHbmCustomSqlDmlType |
sqlUpdate |
protected List<JaxbHbmDiscriminatorSubclassEntityType> |
subclass |
protected List<JaxbHbmSynchronizeType> |
synchronize |
protected List<JaxbHbmTuplizerType> |
tuplizer |
_extends
_abstract, batchSize, dynamicInsert, dynamicUpdate, entityName, lazy, name, node, persister, proxy, selectBeforeUpdate
toolingHints
Constructor and Description |
---|
JaxbHbmDiscriminatorSubclassEntityType() |
Modifier and Type | Method and Description |
---|---|
List<Serializable> |
getAttributes()
Gets the value of the attributes property.
|
String |
getDiscriminatorValue()
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.
|
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.
|
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.
|
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.
|
void |
setDiscriminatorValue(String value)
Sets the value of the discriminatorValue property.
|
void |
setLoader(JaxbHbmLoaderType value)
Sets the value of the loader 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.
|
getExtends, setExtends
getBatchSize, getEntityName, getName, getNode, getPersister, getProxy, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate, setAbstract, setBatchSize, setDynamicInsert, setDynamicUpdate, setEntityName, setLazy, setName, setNode, setPersister, setProxy, setSelectBeforeUpdate
getToolingHints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExtends
getBatchSize, getEntityName, getName, getPersister, getProxy, isAbstract, isDynamicInsert, isDynamicUpdate, isLazy, isSelectBeforeUpdate
getToolingHints
protected List<JaxbHbmTuplizerType> tuplizer
protected List<JaxbHbmSynchronizeType> synchronize
protected List<Serializable> attributes
protected List<JaxbHbmSecondaryTableType> join
protected List<JaxbHbmDiscriminatorSubclassEntityType> subclass
protected JaxbHbmLoaderType loader
protected JaxbHbmCustomSqlDmlType sqlInsert
protected JaxbHbmCustomSqlDmlType sqlUpdate
protected JaxbHbmCustomSqlDmlType sqlDelete
protected List<JaxbHbmFetchProfileType> fetchProfile
protected List<JaxbHbmResultSetMappingType> resultset
protected List<JaxbHbmNamedQueryType> query
protected List<JaxbHbmNamedNativeQueryType> sqlQuery
protected String discriminatorValue
public JaxbHbmDiscriminatorSubclassEntityType()
public List<JaxbHbmTuplizerType> getTuplizer()
Gets the value of the tuplizer property.
<p> 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 <CODE>set</CODE> method for the tuplizer property.
<p> For example, to add a new item, do as follows: <pre> getTuplizer().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmTuplizerType
getTuplizer
in interface EntityInfo
public List<JaxbHbmSynchronizeType> getSynchronize()
Gets the value of the synchronize property.
<p> 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 <CODE>set</CODE> method for the synchronize property.
<p> For example, to add a new item, do as follows: <pre> getSynchronize().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmSynchronizeType
getSynchronize
in interface EntityInfo
public List<Serializable> getAttributes()
Gets the value of the attributes property.
<p> 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 <CODE>set</CODE> method for the attributes property.
<p> For example, to add a new item, do as follows: <pre> getAttributes().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmBasicAttributeType
JaxbHbmManyToOneType
JaxbHbmOneToOneType
JaxbHbmCompositeAttributeType
JaxbHbmDynamicComponentType
JaxbHbmPropertiesType
JaxbHbmAnyAssociationType
JaxbHbmMapType
JaxbHbmSetType
JaxbHbmListType
JaxbHbmBagCollectionType
JaxbHbmArrayType
JaxbHbmPrimitiveArrayType
JaxbHbmIdBagCollectionType
getAttributes
in interface EntityInfo
public List<JaxbHbmSecondaryTableType> getJoin()
Gets the value of the join property.
<p> 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 <CODE>set</CODE> method for the join property.
<p> For example, to add a new item, do as follows: <pre> getJoin().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmSecondaryTableType
getJoin
in interface SecondaryTableContainer
public List<JaxbHbmDiscriminatorSubclassEntityType> getSubclass()
Gets the value of the subclass property.
<p> 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 <CODE>set</CODE> method for the subclass property.
<p> For example, to add a new item, do as follows: <pre> getSubclass().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmDiscriminatorSubclassEntityType
public JaxbHbmLoaderType getLoader()
Gets the value of the loader property.
getLoader
in interface EntityInfo
JaxbHbmLoaderType
public void setLoader(JaxbHbmLoaderType value)
Sets the value of the loader property.
value
- allowed object is
JaxbHbmLoaderType
public JaxbHbmCustomSqlDmlType getSqlInsert()
Gets the value of the sqlInsert property.
getSqlInsert
in interface EntityInfo
JaxbHbmCustomSqlDmlType
public void setSqlInsert(JaxbHbmCustomSqlDmlType value)
Sets the value of the sqlInsert property.
value
- allowed object is
JaxbHbmCustomSqlDmlType
public JaxbHbmCustomSqlDmlType getSqlUpdate()
Gets the value of the sqlUpdate property.
getSqlUpdate
in interface EntityInfo
JaxbHbmCustomSqlDmlType
public void setSqlUpdate(JaxbHbmCustomSqlDmlType value)
Sets the value of the sqlUpdate property.
value
- allowed object is
JaxbHbmCustomSqlDmlType
public JaxbHbmCustomSqlDmlType getSqlDelete()
Gets the value of the sqlDelete property.
getSqlDelete
in interface EntityInfo
JaxbHbmCustomSqlDmlType
public void setSqlDelete(JaxbHbmCustomSqlDmlType value)
Sets the value of the sqlDelete property.
value
- allowed object is
JaxbHbmCustomSqlDmlType
public List<JaxbHbmFetchProfileType> getFetchProfile()
Gets the value of the fetchProfile property.
<p> 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 <CODE>set</CODE> method for the fetchProfile property.
<p> For example, to add a new item, do as follows: <pre> getFetchProfile().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmFetchProfileType
getFetchProfile
in interface EntityInfo
public List<JaxbHbmResultSetMappingType> getResultset()
Gets the value of the resultset property.
<p> 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 <CODE>set</CODE> method for the resultset property.
<p> For example, to add a new item, do as follows: <pre> getResultset().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmResultSetMappingType
getResultset
in interface EntityInfo
public List<JaxbHbmNamedQueryType> getQuery()
Gets the value of the query property.
<p> 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 <CODE>set</CODE> method for the query property.
<p> For example, to add a new item, do as follows: <pre> getQuery().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmNamedQueryType
getQuery
in interface EntityInfo
public List<JaxbHbmNamedNativeQueryType> getSqlQuery()
Gets the value of the sqlQuery property.
<p> 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 <CODE>set</CODE> method for the sqlQuery property.
<p> For example, to add a new item, do as follows: <pre> getSqlQuery().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
JaxbHbmNamedNativeQueryType
getSqlQuery
in interface EntityInfo
public String getDiscriminatorValue()
Gets the value of the discriminatorValue property.
String
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.