Class MiddleIdData


  • public final class MiddleIdData
    extends Object
    A class holding information about ids, which form a virtual "relation" from a middle-table. Middle-tables are used when mapping collections.
    • Method Detail

      • getOriginalMapper

        public IdMapper getOriginalMapper()
        Returns:
        Original id mapper of the related entity.
      • getPrefixedMapper

        public IdMapper getPrefixedMapper()
        Returns:
        prefixed id mapper (with the names for the id fields that are used in the middle table) of the related entity.
      • getEntityName

        public String getEntityName()
        Returns:
        Name of the related entity (regular, not audited).
      • getAuditEntityName

        public String getAuditEntityName()
        Returns:
        Audit name of the related entity.
      • isAudited

        public boolean isAudited()
        Returns:
        Is the entity, to which this middle id data correspond, audited.