Top Description Methods
org.hibernate.metamodel.mapping

public Interface DiscriminatorValueDetails

Known Direct Implementers
org.hibernate.metamodel.mapping.internal.DiscriminatorValueDetailsImpl

Details for a particular discriminator value.

API Note

For joined and union inheritance, the discriminator also effectively indicates a specific table. That table can be found via EntityMappingType#getMappedTableDetails() for the indicated entity

See Also
jakarta.persistence.DiscriminatorValue

Method Summary

Modifier and TypeMethod and Description
public EntityMappingType
public default String
getIndicatedEntityName()

The name of the concrete entity-type mapped to this discriminator value

public Object
getValue()

The discriminator value

Method Detail

getIndicatedEntityback to summary
public EntityMappingType getIndicatedEntity()

Form of getIndicatedEntityName() returning the matched EntityMappingType

getIndicatedEntityNameback to summary
public default String getIndicatedEntityName()

The name of the concrete entity-type mapped to this discriminator value

getValueback to summary
public Object getValue()

The discriminator value