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