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:
  • Field Details

    • 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
  • Constructor Details

    • JaxbHbmEntityDiscriminatorType

      public JaxbHbmEntityDiscriminatorType()
  • Method Details

    • 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 is JaxbHbmColumnType
    • 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 is String
    • 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 is String
    • 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 is Boolean
    • 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 is String
    • 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 is Boolean
    • 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 is Integer
    • 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 is Boolean
    • getType

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String