@DecimalMin("0.0") @DecimalMax("1.0") public double getMemoryRevokingThreshold() { return memoryRevokingThreshold; }
@DecimalMin("0.0") @DecimalMax("1.0") public double getMemoryRevokingTarget() { return memoryRevokingTarget; }
@DecimalMin("0.0") @DecimalMax("1.0") public double getFailureRatioThreshold() { return failureRatioThreshold; }
@DecimalMin("0.0") @DecimalMax("100.0") public double getOrcWriterValidationPercentage() { return orcWriterValidationPercentage; }
static class ModelWithoutScientificFields { @io.swagger.v3.oas.annotations.media.Schema @DecimalMin(value = "-9999999999999999.99") @DecimalMax(value = "9999999999999999.99") public BigDecimal id; } }
protected Double minBalance; @DecimalMax(value = "1000000", inclusive = false) protected Double maxBalance;
@DecimalMax(message="Invalid Decimal max value.", value = "20") private int decimalMax;
@DecimalMin("0.0") @DecimalMax("1.0") public double getMemoryRevokingTarget() { return memoryRevokingTarget; }
@DecimalMin("0.0") @DecimalMax("1.0") public double getFailureRatioThreshold() { return failureRatioThreshold; }
@DecimalMin("0.0") @DecimalMax("1.0") public double getFailureRatioThreshold() { return failureRatioThreshold; }
@DecimalMin("0.0") @DecimalMax("1.0") public double getMemoryRevokingThreshold() { return memoryRevokingThreshold; }
@DecimalMin("0.0") @DecimalMax("1.0") public double getMemoryRevokingTarget() { return memoryRevokingTarget; }
@DecimalMin("0.0") @DecimalMax("100.0") public double getOrcWriterValidationPercentage() { return orcWriterValidationPercentage; }
@DecimalMin("0.0") @DecimalMax("1.0") public double getMemoryRevokingThreshold() { return memoryRevokingThreshold; }
@DecimalMin("0.0") @DecimalMax("1.0") public double getFailureRatioThreshold() { return failureRatioThreshold; }
public void setIntervalRatio(@DecimalMin("0.1") @DecimalMax("0.9") double intervalRatio) { this.intervalRatio = intervalRatio; }
public @DecimalMin("0.1") @DecimalMax("0.9") double getIntervalRatio() { return this.intervalRatio; }
public @DecimalMin("0.1") @DecimalMax("0.9") double getIntervalRatio() { return this.intervalRatio; }
private MonetaryAmount currency; @DecimalMax("9.875") private BigDecimal decimalMax;
@RemotingBean private class MaxBean { // inclusive = true by default @DecimalMax(value = "1234.5E-4") private Property<BigDecimal> bigDecimal = new MockedProperty<>(); public Property<BigDecimal> bigDecimalProperty() { return bigDecimal; } }