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