Interface LazyLoadingProxy

All Superinterfaces:
Wrapped

public interface LazyLoadingProxy extends Wrapped
Allows direct interaction with the underlying LazyLoadingInterceptor.
Since:
1.5
Author:
Thomas Darimont, Christoph Strobl, Mark Paluch
See Also:
  • Method Details

    • getTarget

      Object getTarget()
      Initializes the proxy and returns the wrapped value.
      Specified by:
      getTarget in interface Wrapped
      Returns:
      Since:
      1.5
    • toDBRef

      @Nullable DBRef toDBRef()
      Returns the DBRef represented by this LazyLoadingProxy, may be null.
      Returns:
      Since:
      1.5
    • getSource

      default @Nullable Object getSource()
      Returns the raw source object that defines the reference.
      Returns:
      can be null.
      Since:
      3.3