public class BigDecimalToBigInteger extends java.lang.Object implements TypeAdapter<java.math.BigDecimal,java.math.BigInteger>
| Constructor and Description |
|---|
BigDecimalToBigInteger() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
algorithmToUnderlying(java.math.BigDecimal algorithmValue)
Convert an object from the algorithm type to the underlying type.
|
MaskingAlgorithm.MaskingType |
getAlgorithmType()
Get the algorithm type of this type adapter.
|
UnderlyingDataType |
getUnderlyingType()
Get the underlying type of this type adapter.
|
java.math.BigDecimal |
underlyingToAlgorithm(java.math.BigInteger underValue)
Convert an object from the underlying type to the algorithm type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, configurepublic MaskingAlgorithm.MaskingType getAlgorithmType()
TypeAdaptergetAlgorithmType in interface TypeAdapter<java.math.BigDecimal,java.math.BigInteger>public UnderlyingDataType getUnderlyingType()
TypeAdaptergetUnderlyingType in interface TypeAdapter<java.math.BigDecimal,java.math.BigInteger>public java.math.BigInteger algorithmToUnderlying(java.math.BigDecimal algorithmValue)
TypeAdapteralgorithmToUnderlying in interface TypeAdapter<java.math.BigDecimal,java.math.BigInteger>algorithmValue - An object of the type referenced by getAlgorithmTypepublic java.math.BigDecimal underlyingToAlgorithm(java.math.BigInteger underValue)
TypeAdapterunderlyingToAlgorithm in interface TypeAdapter<java.math.BigDecimal,java.math.BigInteger>underValue - An object of the type referenced by getUnderlyingType