Class EntityReferenceProxyGenerator

java.lang.Object
cz.cvut.kbss.jopa.proxy.reference.EntityReferenceProxyGenerator
All Implemented Interfaces:
PersistenceContextAwareClassGenerator

public class EntityReferenceProxyGenerator extends Object implements PersistenceContextAwareClassGenerator
  • Constructor Details

    • EntityReferenceProxyGenerator

      public EntityReferenceProxyGenerator()
  • Method Details

    • generate

      public <T> Class<? extends T> generate(Class<T> entityClass)
      Description copied from interface: PersistenceContextAwareClassGenerator
      Generates a class extending the specified entityClass but able to be connected to a persistence context.
      Specified by:
      generate in interface PersistenceContextAwareClassGenerator
      Type Parameters:
      T - Entity type
      Parameters:
      entityClass - Entity class for which to generate the subclass
      Returns:
      Entity class subtype