public SampledData setFactor(BigDecimal value) { 
      if (value == null)
        this.factor = null;
      else {
        if (this.factor == null)
          this.factor = new DecimalType();
        this.factor.setValue(value);
      }
      return this;
    }
public SampledData setFactor ( BigDecimal value ) { if ( value == null ) this . factor = null ; else { if ( this . factor == null ) this . factor = new DecimalType ( ) ; this . factor . setValue ( value ) ; } return this ; }
@param value A correction factor that is applied to the sampled data points before they are added to the origin.