Class BsonField

    • Constructor Summary

      Constructors 
      Constructor Description
       name, Bson value)
      Construct an instance
    • Constructor Detail

      • BsonField

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

      • getName

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

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

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

        public int hashCode()
        Overrides:
         in class 
      • toString

        public  toString()
        Overrides:
         in class