code: public void setValue(double value) {
          this.value = lockValueInRange
                  ? Op.bound(value, minimum, maximum)
                  : value;
      }
docs: Sets the value of the variable
  
  @param value is the input value of an InputVariable, or the output value of
  an OutputVariable