Package io.objectbox.converter
Class NullToEmptyStringConverter
java.lang.Object
io.objectbox.converter.NullToEmptyStringConverter
- All Implemented Interfaces:
PropertyConverter<String,String>
Used as a converter if a property is annotated with
@DefaultValue("").-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseValue(String entityProperty) convertToEntityProperty(String databaseValue)
-
Constructor Details
-
NullToEmptyStringConverter
public NullToEmptyStringConverter()
-
-
Method Details
-
convertToDatabaseValue
- Specified by:
convertToDatabaseValuein interfacePropertyConverter<String,String>
-
convertToEntityProperty
- Specified by:
convertToEntityPropertyin interfacePropertyConverter<String,String>
-