类 JaxbHbmEntityDiscriminatorType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmEntityDiscriminatorType
-
- 所有已实现的接口:
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>- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 JaxbHbmEntityDiscriminatorType()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 JaxbHbmColumnTypegetColumn()Gets the value of the column property.StringgetColumnAttribute()Gets the value of the columnAttribute property.StringgetFormula()Gets the value of the formula property.StringgetFormulaAttribute()Gets the value of the formulaAttribute property.IntegergetLength()Gets the value of the length property.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(String value)Sets the value of the columnAttribute property.voidsetForce(Boolean value)Sets the value of the force property.voidsetFormula(String value)Sets the value of the formula property.voidsetFormulaAttribute(String value)Sets the value of the formulaAttribute property.voidsetInsert(Boolean value)Sets the value of the insert property.voidsetLength(Integer value)Sets the value of the length property.voidsetNotNull(Boolean value)Sets the value of the notNull property.voidsetType(String value)Sets the value of the type property.
-
-
-
字段详细资料
-
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
-
-
方法详细资料
-
getColumn
public JaxbHbmColumnType getColumn()
Gets the value of the column property.- 返回:
- possible object is
JaxbHbmColumnType
-
setColumn
public void setColumn(JaxbHbmColumnType value)
Sets the value of the column property.- 参数:
value- allowed object isJaxbHbmColumnType
-
getFormula
public String getFormula()
Gets the value of the formula property.- 返回:
- possible object is
String
-
setFormula
public void setFormula(String value)
Sets the value of the formula property.- 参数:
value- allowed object isString
-
getColumnAttribute
public String getColumnAttribute()
Gets the value of the columnAttribute property.- 返回:
- possible object is
String
-
setColumnAttribute
public void setColumnAttribute(String value)
Sets the value of the columnAttribute property.- 参数:
value- allowed object isString
-
isForce
public boolean isForce()
Gets the value of the force property.- 返回:
- possible object is
Boolean
-
setForce
public void setForce(Boolean value)
Sets the value of the force property.- 参数:
value- allowed object isBoolean
-
getFormulaAttribute
public String getFormulaAttribute()
Gets the value of the formulaAttribute property.- 返回:
- possible object is
String
-
setFormulaAttribute
public void setFormulaAttribute(String value)
Sets the value of the formulaAttribute property.- 参数:
value- allowed object isString
-
isInsert
public boolean isInsert()
Gets the value of the insert property.- 返回:
- possible object is
Boolean
-
setInsert
public void setInsert(Boolean value)
Sets the value of the insert property.- 参数:
value- allowed object isBoolean
-
getLength
public Integer getLength()
Gets the value of the length property.- 返回:
- possible object is
Integer
-
setLength
public void setLength(Integer value)
Sets the value of the length property.- 参数:
value- allowed object isInteger
-
isNotNull
public boolean isNotNull()
Gets the value of the notNull property.- 返回:
- possible object is
Boolean
-
setNotNull
public void setNotNull(Boolean value)
Sets the value of the notNull property.- 参数:
value- allowed object isBoolean
-
-