Class JoinedSubclassPersistentEntity

All Implemented Interfaces:
AttributeContainer

public class JoinedSubclassPersistentEntity extends SubclassPersistentEntity
A persistent entity mapping that uses joined table(s) to store the hierarchy of entity types.
  • Constructor Details

    • JoinedSubclassPersistentEntity

      public JoinedSubclassPersistentEntity(AuditTableData auditTableData, org.hibernate.mapping.PersistentClass persistentClass)
  • Method Details

    • addAttribute

      public void addAttribute(Attribute attribute)
      Description copied from interface: AttributeContainer
      Add an attribute to the container.
      Parameters:
      attribute - the attribute, should not be null
    • setKey

      public void setKey(Key key)
    • getDiscriminatorValue

      public String getDiscriminatorValue()
    • setDiscriminatorValue

      public void setDiscriminatorValue(String discriminatorValue)
    • build

      public void build(org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping mapping)
      Specified by:
      build in class PersistentEntity
    • buildJaxbMapping

      public org.hibernate.boot.jaxb.hbm.spi.JaxbHbmJoinedSubclassEntityType buildJaxbMapping()