public class BigDecimalToString extends java.lang.Object implements TypeAdapter<java.math.BigDecimal,java.lang.String>
| Constructor and Description |
|---|
BigDecimalToString() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
algorithmToUnderlying(java.math.BigDecimal algorithmValue)
Convert an object from the algorithm type to the underlying type.
|
void |
configure(MaskValueMetadata maskValueMetadata,
MaskingAlgorithm<java.math.BigDecimal> maskingAlgorithm)
Configure this adapter.
|
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.String underValue)
Convert an object from the underlying type to the algorithm type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurepublic void configure(MaskValueMetadata maskValueMetadata, MaskingAlgorithm<java.math.BigDecimal> maskingAlgorithm)
TypeAdapterconfigure in interface TypeAdapter<java.math.BigDecimal,java.lang.String>maskValueMetadata - An interface providing methods to retrieve additional information about the
underlying typemaskingAlgorithm - An algorithm instance this adapter is instantiated forpublic MaskingAlgorithm.MaskingType getAlgorithmType()
TypeAdaptergetAlgorithmType in interface TypeAdapter<java.math.BigDecimal,java.lang.String>public UnderlyingDataType getUnderlyingType()
TypeAdaptergetUnderlyingType in interface TypeAdapter<java.math.BigDecimal,java.lang.String>public java.lang.String algorithmToUnderlying(java.math.BigDecimal algorithmValue)
TypeAdapteralgorithmToUnderlying in interface TypeAdapter<java.math.BigDecimal,java.lang.String>algorithmValue - An object of the type referenced by getAlgorithmTypepublic java.math.BigDecimal underlyingToAlgorithm(java.lang.String underValue)
throws PreMaskTypeConversionException
TypeAdapterunderlyingToAlgorithm in interface TypeAdapter<java.math.BigDecimal,java.lang.String>underValue - An object of the type referenced by getUnderlyingTypePreMaskTypeConversionException - If the type conversion fails