Class JaxbDiscriminatorColumn

java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbDiscriminatorColumn
All Implemented Interfaces:
Serializable

public class JaxbDiscriminatorColumn extends Object implements Serializable
See `@jakarta.persistence.DiscriminatorColumn` See `@org.hibernate.annotations.DiscriminatorOptions`

Java class for discriminator-column complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="discriminator-column">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="discriminator-type" type="{http://www.hibernate.org/xsd/orm/mapping}discriminator-type" />
       <attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="force-selection" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • name

      protected String name
    • discriminatorType

      protected DiscriminatorType discriminatorType
    • columnDefinition

      protected String columnDefinition
    • length

      protected Integer length
    • forceSelection

      protected Boolean forceSelection
  • Constructor Details

    • JaxbDiscriminatorColumn

      public JaxbDiscriminatorColumn()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getDiscriminatorType

      public DiscriminatorType getDiscriminatorType()
      Gets the value of the discriminatorType property.
      Returns:
      possible object is String
    • setDiscriminatorType

      public void setDiscriminatorType(DiscriminatorType value)
      Sets the value of the discriminatorType property.
      Parameters:
      value - allowed object is String
    • getColumnDefinition

      public String getColumnDefinition()
      Gets the value of the columnDefinition property.
      Returns:
      possible object is String
    • setColumnDefinition

      public void setColumnDefinition(String value)
      Sets the value of the columnDefinition property.
      Parameters:
      value - allowed object is String
    • 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
    • isForceSelection

      public boolean isForceSelection()
      Gets the value of the forceSelection property.
      Returns:
      possible object is Boolean
    • setForceSelection

      public void setForceSelection(Boolean value)
      Sets the value of the forceSelection property.
      Parameters:
      value - allowed object is Boolean