@@ -51,7 +51,7 @@ public interface MqlDocument extends MqlValue {
51
51
* @param fieldName the name of the field.
52
52
* @return the resulting value.
53
53
*/
54
- MqlBoolean has (String fieldName );
54
+ MqlBoolean hasField (String fieldName );
55
55
56
56
/**
57
57
* Returns a document with the same fields as {@code this} document, but
@@ -87,7 +87,7 @@ public interface MqlDocument extends MqlValue {
87
87
* with the provided {@code fieldName}.
88
88
*
89
89
* <p>Warning: Use of this method is an assertion that the document
90
- * {@linkplain #has (String) has} the named field.
90
+ * {@linkplain #hasField (String) has} the named field.
91
91
*
92
92
* @mongodb.server.release 5.0
93
93
* @param fieldName the name of the field.
@@ -103,7 +103,7 @@ public interface MqlDocument extends MqlValue {
103
103
* <p>Warning: The type and presence of the resulting value is not
104
104
* enforced by the API. The use of this method is an
105
105
* unchecked assertion that the document
106
- * {@linkplain #has (String) has} the named field and
106
+ * {@linkplain #hasField (String) has} the named field and
107
107
* the field value is of the specified type.
108
108
*
109
109
* @mongodb.server.release 5.0
@@ -117,7 +117,7 @@ public interface MqlDocument extends MqlValue {
117
117
* Returns the {@linkplain MqlBoolean boolean} value of the field
118
118
* with the provided {@code fieldName},
119
119
* or the {@code other} value if the field is not a boolean
120
- * or if the document {@linkplain #has } no such field.
120
+ * or if the document {@linkplain #hasField } no such field.
121
121
*
122
122
* @mongodb.server.release 5.0
123
123
* @param fieldName the name of the field.
@@ -130,7 +130,7 @@ public interface MqlDocument extends MqlValue {
130
130
* Returns the {@linkplain MqlBoolean boolean} value of the field
131
131
* with the provided {@code fieldName},
132
132
* or the {@code other} value if the field is not a boolean
133
- * or if the document {@linkplain #has } no such field.
133
+ * or if the document {@linkplain #hasField } no such field.
134
134
*
135
135
* @mongodb.server.release 5.0
136
136
* @param fieldName the name of the field.
@@ -149,7 +149,7 @@ default MqlBoolean getBoolean(final String fieldName, final boolean other) {
149
149
* <p>Warning: The type and presence of the resulting value is not
150
150
* enforced by the API. The use of this method is an
151
151
* unchecked assertion that the document
152
- * {@linkplain #has (String) has} the named field and
152
+ * {@linkplain #hasField (String) has} the named field and
153
153
* the field value is of the specified type.
154
154
*
155
155
* @mongodb.server.release 5.0
@@ -163,7 +163,7 @@ default MqlBoolean getBoolean(final String fieldName, final boolean other) {
163
163
* Returns the {@linkplain MqlNumber number} value of the field
164
164
* with the provided {@code fieldName},
165
165
* or the {@code other} value if the field is not a number
166
- * or if the document {@linkplain #has } no such field.
166
+ * or if the document {@linkplain #hasField } no such field.
167
167
*
168
168
* @mongodb.server.release 5.0
169
169
* @param fieldName the name of the field.
@@ -176,7 +176,7 @@ default MqlBoolean getBoolean(final String fieldName, final boolean other) {
176
176
* Returns the {@linkplain MqlNumber number} value of the field
177
177
* with the provided {@code fieldName},
178
178
* or the {@code other} value if the field is not a number
179
- * or if the document {@linkplain #has } no such field.
179
+ * or if the document {@linkplain #hasField } no such field.
180
180
*
181
181
* @mongodb.server.release 5.0
182
182
* @param fieldName the name of the field.
@@ -196,7 +196,7 @@ default MqlNumber getNumber(final String fieldName, final Number other) {
196
196
* <p>Warning: The type and presence of the resulting value is not
197
197
* enforced by the API. The use of this method is an
198
198
* unchecked assertion that the document
199
- * {@linkplain #has (String) has} the named field and
199
+ * {@linkplain #hasField (String) has} the named field and
200
200
* the field value is of the specified type.
201
201
*
202
202
* @mongodb.server.release 5.0
@@ -210,7 +210,7 @@ default MqlNumber getNumber(final String fieldName, final Number other) {
210
210
* Returns the {@linkplain MqlInteger integer} value of the field
211
211
* with the provided {@code fieldName},
212
212
* or the {@code other} value if the field is not an integer
213
- * or if the document {@linkplain #has } no such field.
213
+ * or if the document {@linkplain #hasField } no such field.
214
214
*
215
215
* @mongodb.server.release 5.0
216
216
* @param fieldName the name of the field.
@@ -223,7 +223,7 @@ default MqlNumber getNumber(final String fieldName, final Number other) {
223
223
* Returns the {@linkplain MqlInteger integer} value of the field
224
224
* with the provided {@code fieldName},
225
225
* or the {@code other} value if the field is not an integer
226
- * or if the document {@linkplain #has } no such field.
226
+ * or if the document {@linkplain #hasField } no such field.
227
227
*
228
228
* @mongodb.server.release 5.0
229
229
* @param fieldName the name of the field.
@@ -239,7 +239,7 @@ default MqlInteger getInteger(final String fieldName, final int other) {
239
239
* Returns the {@linkplain MqlInteger integer} value of the field
240
240
* with the provided {@code fieldName},
241
241
* or the {@code other} value if the field is not an integer
242
- * or if the document {@linkplain #has } no such field.
242
+ * or if the document {@linkplain #hasField } no such field.
243
243
*
244
244
* @mongodb.server.release 5.0
245
245
* @param fieldName the name of the field.
@@ -258,7 +258,7 @@ default MqlInteger getInteger(final String fieldName, final long other) {
258
258
* <p>Warning: The type and presence of the resulting value is not
259
259
* enforced by the API. The use of this method is an
260
260
* unchecked assertion that the document
261
- * {@linkplain #has (String) has} the named field and
261
+ * {@linkplain #hasField (String) has} the named field and
262
262
* the field value is of the specified type.
263
263
*
264
264
* @mongodb.server.release 5.0
@@ -272,7 +272,7 @@ default MqlInteger getInteger(final String fieldName, final long other) {
272
272
* Returns the {@linkplain MqlString string} value of the field
273
273
* with the provided {@code fieldName},
274
274
* or the {@code other} value if the field is not a string
275
- * or if the document {@linkplain #has } no such field.
275
+ * or if the document {@linkplain #hasField } no such field.
276
276
*
277
277
* @mongodb.server.release 5.0
278
278
* @param fieldName the name of the field.
@@ -285,7 +285,7 @@ default MqlInteger getInteger(final String fieldName, final long other) {
285
285
* Returns the {@linkplain MqlString string} value of the field
286
286
* with the provided {@code fieldName},
287
287
* or the {@code other} value if the field is not a string
288
- * or if the document {@linkplain #has } no such field.
288
+ * or if the document {@linkplain #hasField } no such field.
289
289
*
290
290
* @mongodb.server.release 5.0
291
291
* @param fieldName the name of the field.
@@ -305,7 +305,7 @@ default MqlString getString(final String fieldName, final String other) {
305
305
* <p>Warning: The type and presence of the resulting value is not
306
306
* enforced by the API. The use of this method is an
307
307
* unchecked assertion that the document
308
- * {@linkplain #has (String) has} the named field and
308
+ * {@linkplain #hasField (String) has} the named field and
309
309
* the field value is of the specified type.
310
310
*
311
311
* @mongodb.server.release 5.0
@@ -319,7 +319,7 @@ default MqlString getString(final String fieldName, final String other) {
319
319
* Returns the {@linkplain MqlDate date} value of the field
320
320
* with the provided {@code fieldName},
321
321
* or the {@code other} value if the field is not a date
322
- * or if the document {@linkplain #has } no such field.
322
+ * or if the document {@linkplain #hasField } no such field.
323
323
*
324
324
* @mongodb.server.release 5.0
325
325
* @param fieldName the name of the field.
@@ -332,7 +332,7 @@ default MqlString getString(final String fieldName, final String other) {
332
332
* Returns the {@linkplain MqlDate date} value of the field
333
333
* with the provided {@code fieldName},
334
334
* or the {@code other} value if the field is not a date
335
- * or if the document {@linkplain #has } no such field.
335
+ * or if the document {@linkplain #hasField } no such field.
336
336
*
337
337
* @mongodb.server.release 5.0
338
338
* @param fieldName the name of the field.
@@ -352,7 +352,7 @@ default MqlDate getDate(final String fieldName, final Instant other) {
352
352
* <p>Warning: The type and presence of the resulting value is not
353
353
* enforced by the API. The use of this method is an
354
354
* unchecked assertion that the document
355
- * {@linkplain #has (String) has} the named field and
355
+ * {@linkplain #hasField (String) has} the named field and
356
356
* the field value is of the specified type.
357
357
*
358
358
* @mongodb.server.release 5.0
@@ -366,7 +366,7 @@ default MqlDate getDate(final String fieldName, final Instant other) {
366
366
* Returns the {@linkplain MqlDocument document} value of the field
367
367
* with the provided {@code fieldName},
368
368
* or the {@code other} value
369
- * if the document {@linkplain #has } no such field,
369
+ * if the document {@linkplain #hasField } no such field,
370
370
* or if the specified field is not a (child) document
371
371
* (or other {@linkplain MqlValue#isDocumentOr document-like value}.
372
372
*
@@ -381,7 +381,7 @@ default MqlDate getDate(final String fieldName, final Instant other) {
381
381
* Returns the {@linkplain MqlDocument document} value of the field
382
382
* with the provided {@code fieldName},
383
383
* or the {@code other} value
384
- * if the document {@linkplain #has } no such field,
384
+ * if the document {@linkplain #hasField } no such field,
385
385
* or if the specified field is not a (child) document
386
386
* (or other {@linkplain MqlValue#isDocumentOr document-like value}.
387
387
*
@@ -403,7 +403,7 @@ default MqlDocument getDocument(final String fieldName, final Bson other) {
403
403
* <p>Warning: The type and presence of the resulting value is not
404
404
* enforced by the API. The use of this method is an
405
405
* unchecked assertion that the document
406
- * {@linkplain #has (String) has} the named field,
406
+ * {@linkplain #hasField (String) has} the named field,
407
407
* and the field value is of the specified raw type,
408
408
* and the field value's type has the specified type argument.
409
409
*
@@ -420,7 +420,7 @@ default MqlDocument getDocument(final String fieldName, final Bson other) {
420
420
* Returns the {@linkplain MqlMap map} value of the field
421
421
* with the provided {@code fieldName},
422
422
* or the {@code other} value
423
- * if the document {@linkplain #has } no such field,
423
+ * if the document {@linkplain #hasField } no such field,
424
424
* or if the specified field is not a map
425
425
* (or other {@linkplain MqlValue#isMapOr} map-like value}).
426
426
*
@@ -440,7 +440,7 @@ default MqlDocument getDocument(final String fieldName, final Bson other) {
440
440
* Returns the {@linkplain MqlMap map} value of the field
441
441
* with the provided {@code fieldName},
442
442
* or the {@code other} value
443
- * if the document {@linkplain #has } no such field,
443
+ * if the document {@linkplain #hasField } no such field,
444
444
* or if the specified field is not a map
445
445
* (or other {@linkplain MqlValue#isMapOr} map-like value}).
446
446
*
@@ -467,7 +467,7 @@ default MqlDocument getDocument(final String fieldName, final Bson other) {
467
467
* <p>Warning: The type and presence of the resulting value is not
468
468
* enforced by the API. The use of this method is an
469
469
* unchecked assertion that the document
470
- * {@linkplain #has (String) has} the named field,
470
+ * {@linkplain #hasField (String) has} the named field,
471
471
* and the field value is of the specified raw type,
472
472
* and the field value's type has the specified type argument.
473
473
*
@@ -483,7 +483,7 @@ default MqlDocument getDocument(final String fieldName, final Bson other) {
483
483
* Returns the {@linkplain MqlArray array} value of the field
484
484
* with the provided {@code fieldName},
485
485
* or the {@code other} value if the field is not an array
486
- * or if the document {@linkplain #has } no such field.
486
+ * or if the document {@linkplain #hasField } no such field.
487
487
*
488
488
* <p>Warning: The type argument of the resulting value is not
489
489
* enforced by the API. The use of this method is an
0 commit comments