Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbHbmAnyDiscriminatorValueMapping

extends Object
implements Serializable, DiscriminatorMapping
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.DiscriminatorMapping, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:hbm-any-discriminator-value-mapping
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:correspondingEntityName
Imports
java.io.Serializable, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlType, .XmlValue

Maps a discriminator value to its corresponding entity name. E.g.: com.acme.Employee

Java class for hbm-any-discriminator-value-mapping complex type.

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

<complexType name="hbm-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>

Field Summary

Modifier and TypeField and Description
protected String
protected String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getCorrespondingEntityName
()

Implements org.hibernate.boot.jaxb.mapping.DiscriminatorMapping.getCorrespondingEntityName.

Gets the value of the correspondingEntityName property.
public String

Returns:

possible object is String
getDiscriminatorValue
()

Implements org.hibernate.boot.jaxb.mapping.DiscriminatorMapping.getDiscriminatorValue.

Gets the value of the discriminatorValue property.
public void
setCorrespondingEntityName(String
allowed object is String
value
)

Sets the value of the correspondingEntityName property.

public void
setDiscriminatorValue(String
allowed object is String
value
)

Sets the value of the discriminatorValue property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

correspondingEntityNameback to summary
protected String correspondingEntityName
Annotations
@XmlValue
discriminatorValueback to summary
protected String discriminatorValue
Annotations
@XmlAttribute
name:value

Constructor Detail

JaxbHbmAnyDiscriminatorValueMappingback to summary
public JaxbHbmAnyDiscriminatorValueMapping()

Method Detail

getCorrespondingEntityNameback to summary
public String getCorrespondingEntityName()

Implements org.hibernate.boot.jaxb.mapping.DiscriminatorMapping.getCorrespondingEntityName.

Gets the value of the correspondingEntityName property.

Returns:String

possible object is String

getDiscriminatorValueback to summary
public String getDiscriminatorValue()

Implements org.hibernate.boot.jaxb.mapping.DiscriminatorMapping.getDiscriminatorValue.

Gets the value of the discriminatorValue property.

Returns:String

possible object is String

setCorrespondingEntityNameback to summary
public void setCorrespondingEntityName(String value)

Sets the value of the correspondingEntityName property.

Parameters
value:String

allowed object is String

setDiscriminatorValueback to summary
public void setDiscriminatorValue(String value)

Sets the value of the discriminatorValue property.

Parameters
value:String

allowed object is String