Class DocumentReferenceSource

java.lang.Object
org.springframework.data.mongodb.core.convert.DocumentReferenceSource

public class DocumentReferenceSource extends Object
The source object to resolve document references upon. Encapsulates the actual source and the reference specific values.
Since:
3.3
Author:
Christoph Strobl
  • Method Details

    • getSelf

      public Object getSelf()
      Get the outer document.
      Returns:
      never null.
    • getTargetSource

      @Nullable public Object getTargetSource()
      Get the actual (property specific) reference value.
      Returns:
      can be null.