public class PassThroughAdapter extends java.lang.Object implements TypeAdapter<java.lang.Object,java.lang.Object>
| Constructor and Description |
|---|
PassThroughAdapter(MaskingAlgorithm.MaskingType algorithmType,
UnderlyingDataType dataType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
algorithmToUnderlying(java.lang.Object 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.Object |
underlyingToAlgorithm(java.lang.Object underValue)
Convert an object from the underlying type to the algorithm type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, configurepublic PassThroughAdapter(MaskingAlgorithm.MaskingType algorithmType, UnderlyingDataType dataType)
public MaskingAlgorithm.MaskingType getAlgorithmType()
TypeAdaptergetAlgorithmType in interface TypeAdapter<java.lang.Object,java.lang.Object>public UnderlyingDataType getUnderlyingType()
TypeAdaptergetUnderlyingType in interface TypeAdapter<java.lang.Object,java.lang.Object>public java.lang.Object underlyingToAlgorithm(java.lang.Object underValue)
TypeAdapterunderlyingToAlgorithm in interface TypeAdapter<java.lang.Object,java.lang.Object>underValue - An object of the type referenced by getUnderlyingTypepublic java.lang.Object algorithmToUnderlying(java.lang.Object algorithmValue)
TypeAdapteralgorithmToUnderlying in interface TypeAdapter<java.lang.Object,java.lang.Object>algorithmValue - An object of the type referenced by getAlgorithmType