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