Package org.neo4j.ogm.typeconversion
Class ConverterBasedCollectionConverter<T,F>
java.lang.Object
org.neo4j.ogm.typeconversion.ConverterBasedCollectionConverter<T,F>
- All Implemented Interfaces:
AttributeConverter<Collection<T>,
F[]>
public class ConverterBasedCollectionConverter<T,F>
extends Object
implements AttributeConverter<Collection<T>,F[]>
- Author:
- Frantisek Hartman
-
Constructor Summary
ConstructorDescriptionConverterBasedCollectionConverter
(Class<?> collectionClass, AttributeConverter<T, F> converter) -
Method Summary
Modifier and TypeMethodDescriptiontoEntityAttribute
(F[] values) F[]
toGraphProperty
(Collection<T> values)
-
Constructor Details
-
ConverterBasedCollectionConverter
public ConverterBasedCollectionConverter(Class<?> collectionClass, AttributeConverter<T, F> converter)
-
-
Method Details
-
toGraphProperty
- Specified by:
toGraphProperty
in interfaceAttributeConverter<T,
F>
-
toEntityAttribute
- Specified by:
toEntityAttribute
in interfaceAttributeConverter<T,
F>
-