public class JaxbHbmSecondaryTableType extends java.lang.Object implements java.io.Serializable, TableInformationContainer
Java class for SecondaryTableType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SecondaryTableType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="subselect" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="key" type="{http://www.hibernate.org/xsd/orm/hbm}key-type"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="property" type="{http://www.hibernate.org/xsd/orm/hbm}BasicAttributeType"/>
<element name="many-to-one" type="{http://www.hibernate.org/xsd/orm/hbm}ManyToOneType"/>
<element name="component" type="{http://www.hibernate.org/xsd/orm/hbm}CompositeAttributeType"/>
<element name="dynamic-component" type="{http://www.hibernate.org/xsd/orm/hbm}dynamic-component-type"/>
<element name="any" type="{http://www.hibernate.org/xsd/orm/hbm}AnyAssociationType"/>
</choice>
<group ref="{http://www.hibernate.org/xsd/orm/hbm}CustomSqlDmlGroup"/>
</sequence>
<attGroup ref="{http://www.hibernate.org/xsd/orm/hbm}table-information-group"/>
<attribute name="fetch" type="{http://www.hibernate.org/xsd/orm/hbm}FetchStyleEnum" default="join" />
<attribute name="inverse" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.io.Serializable> |
attributes |
protected java.lang.String |
catalog |
protected java.lang.String |
comment |
protected JaxbHbmFetchStyleEnum |
fetch |
protected java.lang.Boolean |
inverse |
protected JaxbHbmKeyType |
key |
protected java.lang.Boolean |
optional |
protected java.lang.String |
schema |
protected JaxbHbmCustomSqlDmlType |
sqlDelete |
protected JaxbHbmCustomSqlDmlType |
sqlInsert |
protected JaxbHbmCustomSqlDmlType |
sqlUpdate |
protected java.lang.String |
subselect |
protected java.lang.String |
subselectAttribute |
protected java.lang.String |
table |
| Constructor and Description |
|---|
JaxbHbmSecondaryTableType() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.io.Serializable> |
getAttributes()
Gets the value of the attributes property.
|
java.lang.String |
getCatalog()
Gets the value of the catalog property.
|
java.lang.String |
getComment()
Gets the value of the comment property.
|
JaxbHbmFetchStyleEnum |
getFetch()
Gets the value of the fetch property.
|
JaxbHbmKeyType |
getKey()
Gets the value of the key property.
|
java.lang.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.
|
JaxbHbmCustomSqlDmlType |
getSqlUpdate()
Gets the value of the sqlUpdate property.
|
java.lang.String |
getSubselect()
Gets the value of the subselect property.
|
java.lang.String |
getSubselectAttribute()
Gets the value of the subselectAttribute property.
|
java.lang.String |
getTable()
Gets the value of the table property.
|
boolean |
isInverse()
Gets the value of the inverse property.
|
boolean |
isOptional()
Gets the value of the optional property.
|
void |
setCatalog(java.lang.String value)
Sets the value of the catalog property.
|
void |
setComment(java.lang.String value)
Sets the value of the comment property.
|
void |
setFetch(JaxbHbmFetchStyleEnum value)
Sets the value of the fetch property.
|
void |
setInverse(java.lang.Boolean value)
Sets the value of the inverse property.
|
void |
setKey(JaxbHbmKeyType value)
Sets the value of the key property.
|
void |
setOptional(java.lang.Boolean value)
Sets the value of the optional property.
|
void |
setSchema(java.lang.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(java.lang.String value)
Sets the value of the subselect property.
|
void |
setSubselectAttribute(java.lang.String value)
Sets the value of the subselectAttribute property.
|
void |
setTable(java.lang.String value)
Sets the value of the table property.
|
protected java.lang.String subselect
protected java.lang.String comment
protected JaxbHbmKeyType key
protected java.util.List<java.io.Serializable> attributes
protected JaxbHbmCustomSqlDmlType sqlInsert
protected JaxbHbmCustomSqlDmlType sqlUpdate
protected JaxbHbmCustomSqlDmlType sqlDelete
protected JaxbHbmFetchStyleEnum fetch
protected java.lang.Boolean inverse
protected java.lang.Boolean optional
protected java.lang.String schema
protected java.lang.String catalog
protected java.lang.String table
protected java.lang.String subselectAttribute
public java.lang.String getSubselect()
getSubselect in interface TableInformationContainerStringpublic void setSubselect(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getComment()
Stringpublic void setComment(java.lang.String value)
value - allowed object is
Stringpublic JaxbHbmKeyType getKey()
JaxbHbmKeyTypepublic void setKey(JaxbHbmKeyType value)
value - allowed object is
JaxbHbmKeyTypepublic java.util.List<java.io.Serializable> getAttributes()
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
JaxbHbmBasicAttributeType
JaxbHbmManyToOneType
JaxbHbmCompositeAttributeType
JaxbHbmDynamicComponentType
JaxbHbmAnyAssociationType
public JaxbHbmCustomSqlDmlType getSqlInsert()
JaxbHbmCustomSqlDmlTypepublic void setSqlInsert(JaxbHbmCustomSqlDmlType value)
value - allowed object is
JaxbHbmCustomSqlDmlTypepublic JaxbHbmCustomSqlDmlType getSqlUpdate()
JaxbHbmCustomSqlDmlTypepublic void setSqlUpdate(JaxbHbmCustomSqlDmlType value)
value - allowed object is
JaxbHbmCustomSqlDmlTypepublic JaxbHbmCustomSqlDmlType getSqlDelete()
JaxbHbmCustomSqlDmlTypepublic void setSqlDelete(JaxbHbmCustomSqlDmlType value)
value - allowed object is
JaxbHbmCustomSqlDmlTypepublic JaxbHbmFetchStyleEnum getFetch()
JaxbHbmFetchStyleEnumpublic void setFetch(JaxbHbmFetchStyleEnum value)
value - allowed object is
JaxbHbmFetchStyleEnumpublic boolean isInverse()
Booleanpublic void setInverse(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isOptional()
Booleanpublic void setOptional(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getSchema()
getSchema in interface TableInformationContainerStringpublic void setSchema(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getCatalog()
getCatalog in interface TableInformationContainerStringpublic void setCatalog(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTable()
getTable in interface TableInformationContainerStringpublic void setTable(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSubselectAttribute()
getSubselectAttribute in interface TableInformationContainerStringpublic void setSubselectAttribute(java.lang.String value)
value - allowed object is
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.