Interface LazyLoadingProxy
public interface LazyLoadingProxy
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 Object
Returns the raw source object that defines the reference.Initializes the proxy and returns the wrapped value.@Nullable com.mongodb.DBRef
toDBRef()
Returns theDBRef
represented by thisLazyLoadingProxy
, may be null.
-
Method Details
-
getTarget
-
toDBRef
@Nullable com.mongodb.DBRef toDBRef()Returns theDBRef
represented 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
-