Class BsonField

    • Constructor Detail

      • BsonField

        public BsonField​(String name,
                         Bson value)
        Deprecated.
        Construct an instance
        Parameters:
        name - the field name
        value - the field value
    • Method Detail

      • getName

        public String getName()
        Deprecated.
        Gets the field name
        Returns:
        the field name
      • getValue

        public Bson getValue()
        Deprecated.
        Gets the field value
        Returns:
        the field value
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object