@@ -285,11 +285,7 @@ package:
285
285
286
286
* - ``BsonRepresentation``
287
287
- Specifies the BSON type used to store the value when different from the
288
- POJO property.
289
-
290
- .. seealso::
291
-
292
- :ref:`bsonrepresentation-annotation-code-example`
288
+ POJO property. :ref:`bsonrepresentation-annotation-code-example`
293
289
294
290
* - ``BsonId``
295
291
- Marks a property to serialize as the _id property.
@@ -301,13 +297,9 @@ package:
301
297
* - ``BsonProperty``
302
298
- Specifies a custom document field name when converting the POJO
303
299
field to BSON. You can include a discriminator to serialize POJOs
304
- nested within the field.
305
-
306
- .. important::
307
-
308
- When applying ``@BsonProperty`` to a private field, you must also add
309
- getter and setter methods for that field to serialize and customize
310
- the field name.
300
+ nested within the field. When applying ``@BsonProperty`` to a private field,
301
+ **you must also add getter and setter methods for that field to serialize and
302
+ customize the field name**.
311
303
312
304
* - ``BsonExtraElements``
313
305
- Specifies the POJO field on which to deserialize all elements that are
@@ -316,11 +308,9 @@ package:
316
308
317
309
- `Document <{+api+}/apidocs/bson/org/bson/Document.html>`__
318
310
- `BsonDocument <{+api+}/apidocs/bson/org/bson/BsonDocument.html>`__
319
- - ``Map<String, Object>``
320
-
321
- .. seealso::
322
-
323
- :ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`
311
+ - ``Map<String, Object>``
312
+
313
+ :ref:`BsonExtraElements Annotation Example <bsonextraelements-annotation-code-example>`
324
314
325
315
The following code snippet shows a sample POJO called ``Product`` that uses
326
316
several of the preceding annotations.
0 commit comments