Package org.hibernate.envers.boot.model
Class UnionSubclassPersistentEntity
java.lang.Object
org.hibernate.envers.boot.model.PersistentEntity
org.hibernate.envers.boot.model.SubclassPersistentEntity
org.hibernate.envers.boot.model.UnionSubclassPersistentEntity
- All Implemented Interfaces:
AttributeContainer
A persistent entity mapping that uses the table-per-class inheritance strategy.
-
Constructor Summary
ConstructorsConstructorDescriptionUnionSubclassPersistentEntity(org.hibernate.envers.configuration.internal.metadata.AuditTableData auditTableData, org.hibernate.mapping.PersistentClass persistentClass) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(Attribute attribute) Add an attribute to the container.voidbuild(org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping mapping) org.hibernate.boot.jaxb.hbm.spi.JaxbHbmUnionSubclassEntityTypeMethods inherited from class org.hibernate.envers.boot.model.SubclassPersistentEntity
getExtends, setExtendsMethods inherited from class org.hibernate.envers.boot.model.PersistentEntity
getAuditTableData, getPersistentClass, isJoinAware
-
Constructor Details
-
UnionSubclassPersistentEntity
public UnionSubclassPersistentEntity(org.hibernate.envers.configuration.internal.metadata.AuditTableData auditTableData, org.hibernate.mapping.PersistentClass persistentClass)
-
-
Method Details
-
addAttribute
Description copied from interface:AttributeContainerAdd an attribute to the container.- Parameters:
attribute- the attribute, should not benull
-
build
public void build(org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping mapping) - Specified by:
buildin classPersistentEntity
-
buildJaxbMapping
public org.hibernate.boot.jaxb.hbm.spi.JaxbHbmUnionSubclassEntityType buildJaxbMapping()
-