Annotation Interface BsonRepresentation


@Deprecated @Documented @Retention(RUNTIME) @Target(RECORD_COMPONENT) public @interface BsonRepresentation
Deprecated.
An annotation that specifies what type the record component is stored as in the database.
Since:
4.6
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Deprecated.
    The type that the property is stored as in the database.
  • Element Details

    • value

      BsonType value
      Deprecated.
      The type that the property is stored as in the database.
      Returns:
      the type that the property should be stored as.