Package org.bson
Class BsonElement
java.lang.Object
org.bson.BsonElement
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A mapping from a name to a BsonValue.
- Since:
- 3.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBsonElement(String name, BsonValue value) Deprecated.Construct a new instance with the given key and value -
Method Summary
-
Constructor Details
-
BsonElement
Deprecated.Construct a new instance with the given key and value- Parameters:
name- the non-null keyvalue- the non-null value
-
-
Method Details
-
getName
Deprecated.Gets the name of the key/field.- Returns:
- the name of the field.
-
getValue
Deprecated.Gets the value of this element.- Returns:
- a
BsonValuecontaining the value of this element.
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-