Class MiddleIdData
java.lang.Object
org.hibernate.envers.internal.entities.mapper.relation.MiddleIdData
A class holding information about ids, which form a virtual "relation" from a middle-table. Middle-tables are used
when mapping collections.
-
Constructor Summary
ConstructorsConstructorDescriptionMiddleIdData
(Configuration configuration, IdMappingData mappingData, String prefix, String entityName, boolean audited) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
MiddleIdData
public MiddleIdData(Configuration configuration, IdMappingData mappingData, String prefix, String entityName, boolean audited)
-
-
Method Details
-
getOriginalMapper
- Returns:
- Original id mapper of the related entity.
-
getPrefixedMapper
- Returns:
- prefixed id mapper (with the names for the id fields that are used in the middle table) of the related entity.
-
getEntityName
- Returns:
- Name of the related entity (regular, not audited).
-
getAuditEntityName
- Returns:
- Audit name of the related entity.
-
isAudited
public boolean isAudited()- Returns:
- Is the entity, to which this middle id data correspond, audited.
-