Package org.hibernate.envers.boot.model
Class JoinedSubclassPersistentEntity
java.lang.Object
org.hibernate.envers.boot.model.PersistentEntity
org.hibernate.envers.boot.model.SubclassPersistentEntity
org.hibernate.envers.boot.model.JoinedSubclassPersistentEntity
- All Implemented Interfaces:
AttributeContainer
A persistent entity mapping that uses joined table(s) to store the hierarchy of entity types.
-
Constructor Summary
ConstructorsConstructorDescriptionJoinedSubclassPersistentEntity
(AuditTableData auditTableData, PersistentClass persistentClass) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(Attribute attribute) Add an attribute to the container.void
build
(JaxbHbmHibernateMapping mapping) void
setDiscriminatorValue
(String discriminatorValue) void
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 Details
-
JoinedSubclassPersistentEntity
public JoinedSubclassPersistentEntity(AuditTableData auditTableData, PersistentClass persistentClass)
-
-
Method Details
-
addAttribute
Description copied from interface:AttributeContainer
Add an attribute to the container.- Parameters:
attribute
- the attribute, should not benull
-
setKey
-
getDiscriminatorValue
-
setDiscriminatorValue
-
build
- Specified by:
build
in classPersistentEntity
-
buildJaxbMapping
-