public class ConverterBasedCollectionConverter<T,F> extends Object implements AttributeConverter<Collection<T>,F[]>
| Constructor and Description |
|---|
ConverterBasedCollectionConverter(Class<?> collectionClass,
AttributeConverter<T,F> converter) |
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
toEntityAttribute(F[] values) |
F[] |
toGraphProperty(Collection<T> values) |
public ConverterBasedCollectionConverter(Class<?> collectionClass, AttributeConverter<T,F> converter)
public F[] toGraphProperty(Collection<T> values)
toGraphProperty in interface AttributeConverter<Collection<T>,F[]>public Collection<T> toEntityAttribute(F[] values)
toEntityAttribute in interface AttributeConverter<Collection<T>,F[]>Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.