public static class ReflectionDBObject.JavaWrapper extends Object
Modifier and Type | Method | Description |
---|---|---|
boolean |
containsKeyβ(String key) |
Deprecated.
|
Object |
getβ(ReflectionDBObject document,
String fieldName) |
Gets the value for the given field from the given document.
|
Set<String> |
keySetβ() |
Gets all the fields on this object.
|
Object |
setβ(ReflectionDBObject document,
String fieldName,
Object value) |
Adds or sets the given field to the given value on the document.
|
public Set<String> keySetβ()
@Deprecated public boolean containsKeyβ(String key)
key
- a field name@Nullable public Object getβ(ReflectionDBObject document, String fieldName)
document
- a ReflectionDBObject representing a MongoDB documentfieldName
- the name of the field to get the value forpublic Object setβ(ReflectionDBObject document, String fieldName, Object value)
document
- a ReflectionDBObject representing a MongoDB documentfieldName
- the name of the field to get the value forvalue
- the value to set the field to