public class NumberPrecision
extends Object
Constructor and Description |
---|
NumberPrecision() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Integer |
getDecimalPlaces()
The number of decimal places to round.
|
Integer |
getDigits()
The total number of digits.
|
RoundingMode |
getRoundingMode()
The rounding mode of the Number and Calculated fields.
|
int |
hashCode() |
NumberPrecision |
setDecimalPlaces(Integer decimalPlaces)
The number of decimal places to round.
|
NumberPrecision |
setDigits(Integer digits)
The total number of digits.
|
NumberPrecision |
setRoundingMode(RoundingMode roundingMode)
The rounding mode of the Number and Calculated fields.
|
String |
toString() |
public Integer getDigits()
public Integer getDecimalPlaces()
public RoundingMode getRoundingMode()
public NumberPrecision setDigits(Integer digits)
this
.public NumberPrecision setDecimalPlaces(Integer decimalPlaces)
this
.public NumberPrecision setRoundingMode(RoundingMode roundingMode)
this
.public boolean equals(Object o)
equals
in class Object
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object