Class JaxbDiscriminatorFormulaImpl

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

public class JaxbDiscriminatorFormulaImpl extends Object implements Serializable
@interface DiscriminatorFormula { /** The fragment */ String value(); DiscriminatorType discriminatorType() default STRING; } @interface DiscriminatorOptions { boolean force() default false; ... } <p>Java class for discriminator-formula complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <complexType name="discriminator-formula"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="fragment" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> <attribute name="discriminator-type" type="{http://www.hibernate.org/xsd/orm/mapping}discriminator-type" /> <attribute name="force-selection" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> </restriction> </complexContent> </complexType> }</pre>
See Also:
  • Field Details

    • fragment

      protected String fragment
    • discriminatorType

      protected DiscriminatorType discriminatorType
    • forceSelection

      protected Boolean forceSelection
  • Constructor Details

    • JaxbDiscriminatorFormulaImpl

      public JaxbDiscriminatorFormulaImpl()
  • Method Details

    • getFragment

      public String getFragment()
      Gets the value of the fragment property.
      Returns:
      possible object is String
    • setFragment

      public void setFragment(String value)
      Sets the value of the fragment 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
    • 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