public class StringToBigDecimal extends java.lang.Object implements TypeAdapter<java.lang.String,java.math.BigDecimal>
| Constructor and Description |
|---|
StringToBigDecimal() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
algorithmToUnderlying(java.lang.String 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.lang.String |
underlyingToAlgorithm(java.math.BigDecimal 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.lang.String,java.math.BigDecimal>public UnderlyingDataType getUnderlyingType()
TypeAdaptergetUnderlyingType in interface TypeAdapter<java.lang.String,java.math.BigDecimal>public java.math.BigDecimal algorithmToUnderlying(java.lang.String algorithmValue)
throws PostMaskTypeConversionException
TypeAdapteralgorithmToUnderlying in interface TypeAdapter<java.lang.String,java.math.BigDecimal>algorithmValue - An object of the type referenced by getAlgorithmTypePostMaskTypeConversionException - If the type conversion failspublic java.lang.String underlyingToAlgorithm(java.math.BigDecimal underValue)
TypeAdapterunderlyingToAlgorithm in interface TypeAdapter<java.lang.String,java.math.BigDecimal>underValue - An object of the type referenced by getUnderlyingType