Class EntityRegistry


  • @Service
    public class EntityRegistry
    extends Object
    Author:
    Viliam Repan (lazyman)
    • Constructor Detail

      • EntityRegistry

        public EntityRegistry()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • getJaxbMapping

        public <T> javax.persistence.metamodel.ManagedType<T> getJaxbMapping​(Class<T> jaxbType)
      • getMapping

        public <T> javax.persistence.metamodel.ManagedType<T> getMapping​(Class<T> entityType)
      • findAttribute

        public <T> javax.persistence.metamodel.Attribute<T,​?> findAttribute​(javax.persistence.metamodel.ManagedType<T> type,
                                                                                  String name)
      • findAttributeOverride

        public <T> javax.persistence.metamodel.Attribute<T,​?> findAttributeOverride​(javax.persistence.metamodel.ManagedType<T> type,
                                                                                          String nameOverride)
      • hasAttributePathOverride

        public boolean hasAttributePathOverride​(javax.persistence.metamodel.ManagedType<?> type,
                                                ItemPath pathOverride)
      • findAttributePathOverride

        public <T> javax.persistence.metamodel.Attribute<T,​?> findAttributePathOverride​(javax.persistence.metamodel.ManagedType<T> type,
                                                                                              ItemPath pathOverride)