Class JaxbAnyDiscriminatorValueMappingImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbAnyDiscriminatorValueMappingImpl
All Implemented Interfaces:
Serializable, JaxbDiscriminatorMapping

public class JaxbAnyDiscriminatorValueMappingImpl extends Object implements Serializable, JaxbDiscriminatorMapping
Maps a discriminator value to its corresponding entity name. E.g.: <mapping value="e">com.acme.Employee</mapping> <p>Java class for any-discriminator-value-mapping complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <complexType name="any-discriminator-value-mapping"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" /> </extension> </simpleContent> </complexType> }</pre>
See Also:
  • Field Details

    • correspondingEntityName

      protected String correspondingEntityName
    • discriminatorValue

      protected String discriminatorValue
  • Constructor Details

    • JaxbAnyDiscriminatorValueMappingImpl

      public JaxbAnyDiscriminatorValueMappingImpl()
  • Method Details

    • getCorrespondingEntityName

      public String getCorrespondingEntityName()
      Gets the value of the correspondingEntityName property.
      Specified by:
      getCorrespondingEntityName in interface JaxbDiscriminatorMapping
      Returns:
      possible object is String
    • setCorrespondingEntityName

      public void setCorrespondingEntityName(String value)
      Sets the value of the correspondingEntityName property.
      Parameters:
      value - allowed object is String
    • getDiscriminatorValue

      public String getDiscriminatorValue()
      Gets the value of the discriminatorValue property.
      Specified by:
      getDiscriminatorValue in interface JaxbDiscriminatorMapping
      Returns:
      possible object is String
    • setDiscriminatorValue

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