Class EntityConfiguration


  • public class EntityConfiguration
    extends Object
    Runtime representation of an entity that may or may not be audited.
    • Method Detail

      • addToOneRelation

        public void addToOneRelation​(String fromPropertyName,
                                     String toEntityName,
                                     IdMapper idMapper,
                                     boolean insertable,
                                     boolean ignoreNotFound)
      • addToOneNotOwningRelation

        public void addToOneNotOwningRelation​(String fromPropertyName,
                                              String mappedByPropertyName,
                                              String toEntityName,
                                              IdMapper idMapper,
                                              boolean ignoreNotFound)
      • addToManyNotOwningRelation

        public void addToManyNotOwningRelation​(String fromPropertyName,
                                               String mappedByPropertyName,
                                               String toEntityName,
                                               IdMapper idMapper,
                                               PropertyMapper fakeBidirectionalRelationMapper,
                                               PropertyMapper fakeBidirectionalRelationIndexMapper,
                                               boolean indexed)
      • addToManyMiddleRelation

        public void addToManyMiddleRelation​(String fromPropertyName,
                                            String toEntityName,
                                            MiddleIdData referencingIdData,
                                            MiddleIdData referencedIdData,
                                            String auditMiddleEntityName)
      • addToManyMiddleNotOwningRelation

        public void addToManyMiddleNotOwningRelation​(String fromPropertyName,
                                                     String mappedByPropertyName,
                                                     String toEntityName,
                                                     MiddleIdData referencingIdData,
                                                     MiddleIdData referencedIdData,
                                                     String auditMiddleEntityName)
      • addToManyComponent

        public void addToManyComponent​(String propertyName,
                                       String auditMiddleEntityName,
                                       MiddleIdData middleIdData)
      • isRelation

        public boolean isRelation​(String propertyName)
      • getIdMapper

        public IdMapper getIdMapper()
      • getParentEntityName

        public String getParentEntityName()
      • getEntityClassName

        public String getEntityClassName()
        Returns:
        the className for the configured entity