Package com.walkfares.odsl.conversion
Class Precision
java.lang.Object
com.walkfares.odsl.conversion.Precision
public class Precision extends Object
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
String
format(String value)
BigDecimal
getPreciseNumber(String value)
RoundingMode
getRoundingMode()
int
getScale()
int
hashCode()
boolean
isStore()
boolean
isUseDefault()
Precision
setRoundingMode(String mode)
Precision
setScale(int scale)
Precision
setStore(boolean store)
Precision
setUseDefault(boolean useDefault)
-
Constructor Details
-
Method Details
-
getRoundingMode
-
setRoundingMode
-
getScale
public int getScale() -
setScale
-
isUseDefault
public boolean isUseDefault() -
setUseDefault
-
isStore
public boolean isStore() -
setStore
-
format
-
getPreciseNumber
-
equals
-
hashCode
public int hashCode()
-