Annotation Type Reference

    • Element Detail

      • idOnly

        boolean idOnly
        Returns:
        whether only _id should be stored versus storing a DBRef
        Default:
        false
      • ignoreMissing

        boolean ignoreMissing
        Returns:
        if true, Ignore any reference that don't resolve (aren't in mongodb)
        Default:
        false
      • lazy

        boolean lazy
        Returns:
        if true, Create a proxy around the reference which will be resolved on the first method call.
        Default:
        false
      • value

        String value
        Returns:
        The name of the Mongo value to store the field. Defaults to the name of the field being annotated.
        Default:
        "."