Class UnionSubclassPersistentEntity

  • All Implemented Interfaces:
    AttributeContainer

    public class UnionSubclassPersistentEntity
    extends SubclassPersistentEntity
    A persistent entity mapping that uses the table-per-class inheritance strategy.
    Author:
    Chris Cranford
    • Constructor Detail

      • UnionSubclassPersistentEntity

        public UnionSubclassPersistentEntity​(AuditTableData auditTableData,
                                             org.hibernate.mapping.PersistentClass persistentClass)
    • Method Detail

      • 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
      • 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.JaxbHbmUnionSubclassEntityType buildJaxbMapping()