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
public class JoinedSubclassPersistentEntity extends SubclassPersistentEntity
A persistent entity mapping that uses joined table(s) to store the hierarchy of entity types.
-
-
Constructor Summary
Constructors Constructor Description JoinedSubclassPersistentEntity(org.hibernate.envers.configuration.internal.metadata.AuditTableData auditTableData, org.hibernate.mapping.PersistentClass persistentClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(Attribute attribute)Add an attribute to the container.voidbuild(org.hibernate.boot.jaxb.hbm.spi.JaxbHbmHibernateMapping mapping)org.hibernate.boot.jaxb.hbm.spi.JaxbHbmJoinedSubclassEntityTypebuildJaxbMapping()StringgetDiscriminatorValue()voidsetDiscriminatorValue(String discriminatorValue)voidsetKey(Key key)-
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
-
-
-
-
Method Detail
-
addAttribute
public void addAttribute(Attribute attribute)
Description copied from interface:AttributeContainerAdd an attribute to the container.- Parameters:
attribute- the attribute, should not benull
-
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:
buildin classPersistentEntity
-
buildJaxbMapping
public org.hibernate.boot.jaxb.hbm.spi.JaxbHbmJoinedSubclassEntityType buildJaxbMapping()
-
-