public static final class DynamoDBTypeConvertedTimestamp.Converter<T> extends Object implements DynamoDBTypeConverter<String,T>
DynamoDBTypeConverter.AbstractConverter<S,T>, DynamoDBTypeConverter.DelegateConverter<S,T>, DynamoDBTypeConverter.ExtendedConverter<S,U,T>, DynamoDBTypeConverter.NullSafeConverter<S,T>
Constructor and Description |
---|
Converter(Class<T> targetType,
DynamoDBTypeConvertedTimestamp annotation) |
Modifier and Type | Method and Description |
---|---|
String |
convert(T object)
Turns an object of type T into an object of type S.
|
T |
unconvert(String object)
Turns an object of type S into an object of type T.
|
public Converter(Class<T> targetType, DynamoDBTypeConvertedTimestamp annotation)
public final String convert(T object)
DynamoDBTypeConverter
convert
in interface DynamoDBTypeConverter<String,T>
public final T unconvert(String object)
DynamoDBTypeConverter
unconvert
in interface DynamoDBTypeConverter<String,T>