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
public class UnionSubclassPersistentEntity extends SubclassPersistentEntity
A persistent entity mapping that uses the table-per-class inheritance strategy.
-
-
Constructor Summary
Constructors Constructor Description UnionSubclassPersistentEntity(AuditTableData auditTableData, PersistentClass persistentClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(Attribute attribute)
Add an attribute to the container.void
build(JaxbHbmHibernateMapping mapping)
JaxbHbmUnionSubclassEntityType
buildJaxbMapping()
-
Methods inherited from class org.hibernate.envers.boot.model.SubclassPersistentEntity
getExtends, setExtends
-
Methods inherited from class org.hibernate.envers.boot.model.PersistentEntity
getAuditTableData, getPersistentClass, isJoinAware
-
-
-
-
Constructor Detail
-
UnionSubclassPersistentEntity
public UnionSubclassPersistentEntity(AuditTableData auditTableData, 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 benull
-
build
public void build(JaxbHbmHibernateMapping mapping)
- Specified by:
build
in classPersistentEntity
-
buildJaxbMapping
public JaxbHbmUnionSubclassEntityType buildJaxbMapping()
-
-