Package science.aist.neo4j.reflective
Interface FieldConverter<D,J>
-
- Type Parameters:
D
- Database valueJ
- Java value
- All Known Subinterfaces:
ArrayConverter<D,T>
,CollectionConverter<V>
,MapConverter<K,V>
- All Known Implementing Classes:
ArrayConverterImpl
,BooleanArrayConverterImpl
,ByteArrayConverterImpl
,CharArrayConverterImpl
,ClassConverter
,CollectionConverterImpl
,DoubleArrayConverterImpl
,FloatArrayConverterImpl
,IntArrayConverterImpl
,IntConverter
,LongArrayConverterImpl
,MapConverterImpl
,ShortArrayConverterImpl
public interface FieldConverter<D,J>
Converter interface for transforming a field to a db value.- Since:
- 1.0
- Author:
- Oliver Krauss
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
mapForDb(String name, J value, Map<String,Object> map)
Adds the value to the map for database processingJ
toJavaValue(J currentValue, Object newValue)
Transforms from db value to value understood by the java class
-