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.
    boolean
    Whether this current document is exposed through the Model's public search collection.
    Optional property path used as the document's start timestamp.
  • Element Details

    • searchable

      boolean searchable
      Whether this current document is exposed through the Model's public search collection.

      When false, Fluxzero stores it in type-isolated private Model storage. It remains available to direct Model loads, aliases, parent relationships and Graph composition, but is not returned by an unrestricted typed Model search. An explicitly parent- or ancestor-bounded relationship search may return it within that scope.

      Default:
      true
    • 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:
      ""