public class NumberArrayStringConverter extends Object implements AttributeConverter<Number[],String[]>
Number to and from its String array representation.
By default, the OGM will automatically convert arrays of BigInteger
and BigDecimal entity attributes using this converter.| Constructor and Description |
|---|
NumberArrayStringConverter(Class<? extends Number> numberClass) |
| Modifier and Type | Method and Description |
|---|---|
Number[] |
toEntityAttribute(String[] stringValues) |
String[] |
toGraphProperty(Number[] value) |
public String[] toGraphProperty(Number[] value)
toGraphProperty in interface AttributeConverter<Number[],String[]>public Number[] toEntityAttribute(String[] stringValues)
toEntityAttribute in interface AttributeConverter<Number[],String[]>Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.