Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmEntityDiscriminatorType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmEntityDiscriminatorType
-
- All Implemented Interfaces:
Serializable
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.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 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 Summary
Constructors Constructor Description JaxbHbmEntityDiscriminatorType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
column
protected JaxbHbmColumnType column
-
formula
protected String formula
-
columnAttribute
protected String columnAttribute
-
force
protected Boolean force
-
formulaAttribute
protected String formulaAttribute
-
insert
protected Boolean insert
-
length
protected Integer length
-
notNull
protected Boolean notNull
-
type
protected 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 String getFormula()
Gets the value of the formula property.- Returns:
- possible object is
String
-
setFormula
public void setFormula(String value)
Sets the value of the formula property.- Parameters:
value
- allowed object isString
-
getColumnAttribute
public String getColumnAttribute()
Gets the value of the columnAttribute property.- Returns:
- possible object is
String
-
setColumnAttribute
public void setColumnAttribute(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(Boolean value)
Sets the value of the force property.- Parameters:
value
- allowed object isBoolean
-
getFormulaAttribute
public String getFormulaAttribute()
Gets the value of the formulaAttribute property.- Returns:
- possible object is
String
-
setFormulaAttribute
public void setFormulaAttribute(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(Boolean value)
Sets the value of the insert property.- Parameters:
value
- allowed object isBoolean
-
getLength
public Integer getLength()
Gets the value of the length property.- Returns:
- possible object is
Integer
-
setLength
public void setLength(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(Boolean value)
Sets the value of the notNull property.- Parameters:
value
- allowed object isBoolean
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
-