public class LocalDateTimeToLong extends java.lang.Object implements TypeAdapter<java.time.LocalDateTime,java.lang.Long>
| Constructor and Description |
|---|
LocalDateTimeToLong() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
algorithmToUnderlying(java.time.LocalDateTime algorithmValue)
Convert an object from the algorithm type to the underlying type.
|
void |
configure(MaskValueMetadata metadata)
Configure this type adapter.
|
MaskingAlgorithm.MaskingType |
getAlgorithmType()
Get the algorithm type of this type adapter.
|
UnderlyingDataType |
getUnderlyingType()
Get the underlying type of this type adapter.
|
java.time.LocalDateTime |
underlyingToAlgorithm(java.lang.Long underValue)
Convert an object from the underlying type to the algorithm type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigurepublic MaskingAlgorithm.MaskingType getAlgorithmType()
TypeAdaptergetAlgorithmType in interface TypeAdapter<java.time.LocalDateTime,java.lang.Long>public UnderlyingDataType getUnderlyingType()
TypeAdaptergetUnderlyingType in interface TypeAdapter<java.time.LocalDateTime,java.lang.Long>public void configure(MaskValueMetadata metadata)
TypeAdapterconfigure in interface TypeAdapter<java.time.LocalDateTime,java.lang.Long>metadata - An interface providing methods to retrieve additional information about the
underlying typepublic java.lang.Long algorithmToUnderlying(java.time.LocalDateTime algorithmValue)
TypeAdapteralgorithmToUnderlying in interface TypeAdapter<java.time.LocalDateTime,java.lang.Long>algorithmValue - An object of the type referenced by getAlgorithmTypepublic java.time.LocalDateTime underlyingToAlgorithm(java.lang.Long underValue)
throws PreMaskTypeConversionException
TypeAdapterunderlyingToAlgorithm in interface TypeAdapter<java.time.LocalDateTime,java.lang.Long>underValue - An object of the type referenced by getUnderlyingTypePreMaskTypeConversionException - If the type conversion fails