Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmEntityDiscriminatorType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmEntityDiscriminatorType
- All Implemented Interfaces:
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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the column property.Gets the value of the columnAttribute property.Gets the value of the formula property.Gets the value of the formulaAttribute property.Gets the value of the length property.getType()Gets the value of the type property.booleanisForce()Gets the value of the force property.booleanisInsert()Gets the value of the insert property.booleanGets 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.voidSets 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.voidSets the value of the insert property.voidSets the value of the length property.voidsetNotNull(Boolean value) Sets the value of the notNull property.voidSets the value of the type property.
-
Field Details
-
column
-
formula
-
columnAttribute
-
force
-
formulaAttribute
-
insert
-
length
-
notNull
-
type
-
-
Constructor Details
-
JaxbHbmEntityDiscriminatorType
public JaxbHbmEntityDiscriminatorType()
-
-
Method Details
-
getColumn
Gets the value of the column property.- Returns:
- possible object is
JaxbHbmColumnType
-
setColumn
Sets the value of the column property.- Parameters:
value- allowed object isJaxbHbmColumnType
-
getFormula
Gets the value of the formula property.- Returns:
- possible object is
String
-
setFormula
Sets the value of the formula property.- Parameters:
value- allowed object isString
-
getColumnAttribute
Gets the value of the columnAttribute property.- Returns:
- possible object is
String
-
setColumnAttribute
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
Sets the value of the force property.- Parameters:
value- allowed object isBoolean
-
getFormulaAttribute
Gets the value of the formulaAttribute property.- Returns:
- possible object is
String
-
setFormulaAttribute
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
Sets the value of the insert property.- Parameters:
value- allowed object isBoolean
-
getLength
Gets the value of the length property.- Returns:
- possible object is
Integer
-
setLength
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
Sets the value of the notNull property.- Parameters:
value- allowed object isBoolean
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-