Interface LazyLoadingProxy
- All Superinterfaces:
Wrapped
Allows direct interaction with the underlying
LazyLoadingInterceptor.- Since:
- 1.5
- Author:
- Thomas Darimont, Christoph Strobl, Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault @Nullable ObjectReturns the raw source object that defines the reference.Initializes the proxy and returns the wrapped value.@Nullable com.mongodb.DBReftoDBRef()Returns theDBRefrepresented by thisLazyLoadingProxy, may be null.
-
Method Details
-
getTarget
-
toDBRef
@Nullable com.mongodb.DBRef toDBRef()Returns theDBRefrepresented by thisLazyLoadingProxy, may be null.- Returns:
- Since:
- 1.5
-
getSource
Returns the raw source object that defines the reference.- Returns:
- can be null.
- Since:
- 3.3
-