RealNumberDataGeneratorBuilder(String property) {
   super(property);
   realNumberDataGenerator.setType("Real");
   realNumberDataGenerator.setMinimumValue(new BigDecimal(1));
   realNumberDataGenerator.setMaximumValue(new BigDecimal(100));
   realNumberDataGenerator.setDecimalPlaces(2);
 }
 public RealNumberDataGeneratorBuilder withDecimalPlaces(int decimalPlaces) {
   if (decimalPlaces < 0) {
     throw new IllegalArgumentException(
         "Decimal places value should be a positive value, actual: " + decimalPlaces);
   }
   realNumberDataGenerator.setDecimalPlaces(decimalPlaces);
   return this;
 }
 /**
  * Increment value for generation of sequential values when generationMode is Sequential. Ignored
  * if generationMode is Random.
  *
  * @param incrementBy increment value
  * @return RealNumberDataGeneratorBuilder
  */
 public RealNumberDataGeneratorBuilder incrementBy(double incrementBy) {
   realNumberDataGenerator.setIncrementBy(new BigDecimal(incrementBy));
   return this;
 }
 RealNumberDataGeneratorBuilder withSequentialValues() {
   realNumberDataGenerator.setGenerationMode(
       RealNumberDataGenerator.GenerationModeEnum.SEQUENTIAL);
   return this;
 }
 public RealNumberDataGeneratorBuilder withMaximumValue(BigDecimal maximumValue) {
   realNumberDataGenerator.setMaximumValue(maximumValue);
   return this;
 }