Annotation Type BsonDiscriminator

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String key  
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value
        Returns:
        the discriminator value to use for this type.
        Default:
        ""
      • key

        java.lang.String key
        Returns:
        the discriminator key to use for this type.
        Default:
        "_t"