Annotationsschnittstelle Reference


@Target(FIELD) @Retention(RUNTIME) public @interface Reference
User: Stpehan Bösebeck Date: 26.03.12 Time: 11:18

Mark this field as a reference to annother mongo object In mongo only the id will be stored here if automaticStore is true (default), objects will be stored if not already done

  • Elementdetails

    • fieldName

      String fieldName
      Standard:
      "."
    • automaticStore

      boolean automaticStore
      Standard:
      true
    • lazyLoading

      boolean lazyLoading
      Standard:
      false
    • targetCollection

      String targetCollection
      Standard:
      "."