public class JaxbHbmEntityDiscriminatorType extends Object implements Serializable
Polymorphic data requires a column holding a class discriminator value. This value is not directly exposed to the application.
<p>Java class for EntityDiscriminatorType complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="EntityDiscriminatorType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <group ref="{http://www.hibernate.org/xsd/orm/hbm}column-or-formula" minOccurs="0"/> </sequence> <attribute name="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="force" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="formula" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="not-null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="string" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected JaxbHbmColumnType |
column |
protected String |
columnAttribute |
protected Boolean |
force |
protected String |
formula |
protected String |
formulaAttribute |
protected Boolean |
insert |
protected Integer |
length |
protected Boolean |
notNull |
protected String |
type |
| Constructor and Description |
|---|
JaxbHbmEntityDiscriminatorType() |
| Modifier and Type | Method and Description |
|---|---|
JaxbHbmColumnType |
getColumn()
Gets the value of the column property.
|
String |
getColumnAttribute()
Gets the value of the columnAttribute property.
|
String |
getFormula()
Gets the value of the formula property.
|
String |
getFormulaAttribute()
Gets the value of the formulaAttribute property.
|
Integer |
getLength()
Gets the value of the length property.
|
String |
getType()
Gets the value of the type property.
|
boolean |
isForce()
Gets the value of the force property.
|
boolean |
isInsert()
Gets the value of the insert property.
|
boolean |
isNotNull()
Gets the value of the notNull property.
|
void |
setColumn(JaxbHbmColumnType value)
Sets the value of the column property.
|
void |
setColumnAttribute(String value)
Sets the value of the columnAttribute property.
|
void |
setForce(Boolean value)
Sets the value of the force property.
|
void |
setFormula(String value)
Sets the value of the formula property.
|
void |
setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.
|
void |
setInsert(Boolean value)
Sets the value of the insert property.
|
void |
setLength(Integer value)
Sets the value of the length property.
|
void |
setNotNull(Boolean value)
Sets the value of the notNull property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected JaxbHbmColumnType column
protected String formula
protected String columnAttribute
protected Boolean force
protected String formulaAttribute
protected Boolean insert
protected Integer length
protected Boolean notNull
protected String type
public JaxbHbmColumnType getColumn()
Gets the value of the column property.
JaxbHbmColumnTypepublic void setColumn(JaxbHbmColumnType value)
Sets the value of the column property.
value - allowed object is
JaxbHbmColumnTypepublic String getFormula()
Gets the value of the formula property.
Stringpublic void setFormula(String value)
Sets the value of the formula property.
value - allowed object is
Stringpublic String getColumnAttribute()
Gets the value of the columnAttribute property.
Stringpublic void setColumnAttribute(String value)
Sets the value of the columnAttribute property.
value - allowed object is
Stringpublic boolean isForce()
Gets the value of the force property.
Booleanpublic void setForce(Boolean value)
Sets the value of the force property.
value - allowed object is
Booleanpublic String getFormulaAttribute()
Gets the value of the formulaAttribute property.
Stringpublic void setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.
value - allowed object is
Stringpublic boolean isInsert()
Gets the value of the insert property.
Booleanpublic void setInsert(Boolean value)
Sets the value of the insert property.
value - allowed object is
Booleanpublic Integer getLength()
Gets the value of the length property.
Integerpublic void setLength(Integer value)
Sets the value of the length property.
value - allowed object is
Integerpublic boolean isNotNull()
Gets the value of the notNull property.
Booleanpublic void setNotNull(Boolean value)
Sets the value of the notNull property.
value - allowed object is
Booleanpublic String getType()
Gets the value of the type property.
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.