Annotation Interface DocumentProjection


@Documented @Target({}) @Retention(RUNTIME) public @interface DocumentProjection
Configures the direct current-state document maintained by a Model whose persistence stores a document.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Collection receiving current Model documents.
    Optional property path used as the document's end timestamp.
    Optional property path used as the document's start timestamp.
  • Element Details

    • collection

      String collection
      Collection receiving current Model documents. Blank defaults to the Model's simple class name.
      Default:
      ""
    • timestampPath

      String timestampPath
      Optional property path used as the document's start timestamp.
      Default:
      ""
    • endPath

      String endPath
      Optional property path used as the document's end timestamp.
      Default:
      ""