Interface LazyLoadingEntityProxy<T>

Type Parameters:
T - Type of the lazily-loaded value
All Superinterfaces:
LazyLoadingProxy<T>, LazyLoadingProxyPropertyAccessor<T>

public interface LazyLoadingEntityProxy<T> extends LazyLoadingProxyPropertyAccessor<T>, LazyLoadingProxy<T>
Implemented by generated lazy loading entity proxy classes.

It defines the default method for triggering lazy loading.

  • Method Details

    • triggerLazyLoading

      default T triggerLazyLoading()
      Description copied from interface: LazyLoadingProxy
      Triggers value loading.
      Specified by:
      triggerLazyLoading in interface LazyLoadingProxy<T>
      Returns:
      Loaded value
    • getProxiedClass

      default Class<T> getProxiedClass()
      Gets the entity class for which this is a lazy loading proxy.
      Returns:
      Proxied entity class
    • stringify

      default String stringify()
      Common implementation of Object.toString().
      Returns:
      String representation of this proxy