public class BigDecimalToLong extends java.lang.Object implements TypeAdapter<java.math.BigDecimal,java.lang.Long>
Constructor and Description |
---|
BigDecimalToLong() |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
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.lang.Long underValue)
Convert an object from the underlying type to the algorithm type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, configure
public MaskingAlgorithm.MaskingType getAlgorithmType()
TypeAdapter
getAlgorithmType
in interface TypeAdapter<java.math.BigDecimal,java.lang.Long>
public UnderlyingDataType getUnderlyingType()
TypeAdapter
getUnderlyingType
in interface TypeAdapter<java.math.BigDecimal,java.lang.Long>
public java.lang.Long algorithmToUnderlying(java.math.BigDecimal algorithmValue)
TypeAdapter
algorithmToUnderlying
in interface TypeAdapter<java.math.BigDecimal,java.lang.Long>
algorithmValue
- An object of the type referenced by getAlgorithmTypepublic java.math.BigDecimal underlyingToAlgorithm(java.lang.Long underValue)
TypeAdapter
underlyingToAlgorithm
in interface TypeAdapter<java.math.BigDecimal,java.lang.Long>
underValue
- An object of the type referenced by getUnderlyingType