Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmEntityDiscriminatorType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmEntityDiscriminatorType
-
- All Implemented Interfaces:
java.io.Serializable
public class JaxbHbmEntityDiscriminatorType extends java.lang.Object implements java.io.SerializablePolymorphic data requires a column holding a class discriminator value. This value is not directly exposed to the application.Java class for EntityDiscriminatorType complex type.
The following schema fragment specifies the expected content contained within this class.
<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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected JaxbHbmColumnTypecolumnprotected java.lang.StringcolumnAttributeprotected java.lang.Booleanforceprotected java.lang.Stringformulaprotected java.lang.StringformulaAttributeprotected java.lang.Booleaninsertprotected java.lang.Integerlengthprotected java.lang.BooleannotNullprotected java.lang.Stringtype
-
Constructor Summary
Constructors Constructor Description JaxbHbmEntityDiscriminatorType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JaxbHbmColumnTypegetColumn()Gets the value of the column property.java.lang.StringgetColumnAttribute()Gets the value of the columnAttribute property.java.lang.StringgetFormula()Gets the value of the formula property.java.lang.StringgetFormulaAttribute()Gets the value of the formulaAttribute property.java.lang.IntegergetLength()Gets the value of the length property.java.lang.StringgetType()Gets the value of the type property.booleanisForce()Gets the value of the force property.booleanisInsert()Gets the value of the insert property.booleanisNotNull()Gets the value of the notNull property.voidsetColumn(JaxbHbmColumnType value)Sets the value of the column property.voidsetColumnAttribute(java.lang.String value)Sets the value of the columnAttribute property.voidsetForce(java.lang.Boolean value)Sets the value of the force property.voidsetFormula(java.lang.String value)Sets the value of the formula property.voidsetFormulaAttribute(java.lang.String value)Sets the value of the formulaAttribute property.voidsetInsert(java.lang.Boolean value)Sets the value of the insert property.voidsetLength(java.lang.Integer value)Sets the value of the length property.voidsetNotNull(java.lang.Boolean value)Sets the value of the notNull property.voidsetType(java.lang.String value)Sets the value of the type property.
-
-
-
Field Detail
-
column
protected JaxbHbmColumnType column
-
formula
protected java.lang.String formula
-
columnAttribute
protected java.lang.String columnAttribute
-
force
protected java.lang.Boolean force
-
formulaAttribute
protected java.lang.String formulaAttribute
-
insert
protected java.lang.Boolean insert
-
length
protected java.lang.Integer length
-
notNull
protected java.lang.Boolean notNull
-
type
protected java.lang.String type
-
-
Method Detail
-
getColumn
public JaxbHbmColumnType getColumn()
Gets the value of the column property.- Returns:
- possible object is
JaxbHbmColumnType
-
setColumn
public void setColumn(JaxbHbmColumnType value)
Sets the value of the column property.- Parameters:
value- allowed object isJaxbHbmColumnType
-
getFormula
public java.lang.String getFormula()
Gets the value of the formula property.- Returns:
- possible object is
String
-
setFormula
public void setFormula(java.lang.String value)
Sets the value of the formula property.- Parameters:
value- allowed object isString
-
getColumnAttribute
public java.lang.String getColumnAttribute()
Gets the value of the columnAttribute property.- Returns:
- possible object is
String
-
setColumnAttribute
public void setColumnAttribute(java.lang.String value)
Sets the value of the columnAttribute property.- Parameters:
value- allowed object isString
-
isForce
public boolean isForce()
Gets the value of the force property.- Returns:
- possible object is
Boolean
-
setForce
public void setForce(java.lang.Boolean value)
Sets the value of the force property.- Parameters:
value- allowed object isBoolean
-
getFormulaAttribute
public java.lang.String getFormulaAttribute()
Gets the value of the formulaAttribute property.- Returns:
- possible object is
String
-
setFormulaAttribute
public void setFormulaAttribute(java.lang.String value)
Sets the value of the formulaAttribute property.- Parameters:
value- allowed object isString
-
isInsert
public boolean isInsert()
Gets the value of the insert property.- Returns:
- possible object is
Boolean
-
setInsert
public void setInsert(java.lang.Boolean value)
Sets the value of the insert property.- Parameters:
value- allowed object isBoolean
-
getLength
public java.lang.Integer getLength()
Gets the value of the length property.- Returns:
- possible object is
Integer
-
setLength
public void setLength(java.lang.Integer value)
Sets the value of the length property.- Parameters:
value- allowed object isInteger
-
isNotNull
public boolean isNotNull()
Gets the value of the notNull property.- Returns:
- possible object is
Boolean
-
setNotNull
public void setNotNull(java.lang.Boolean value)
Sets the value of the notNull property.- Parameters:
value- allowed object isBoolean
-
getType
public java.lang.String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
public void setType(java.lang.String value)
Sets the value of the type property.- Parameters:
value- allowed object isString
-
-