public class YearMonthComponentsConverter extends Object implements TypeConverter<java.time.YearMonth,int[]>, MultiColumnConverter
| Constructor and Description |
|---|
YearMonthComponentsConverter() |
| Modifier and Type | Method and Description |
|---|---|
Class[] |
getDatastoreColumnTypes()
Accessor for the java types of the datastore columns.
|
int[] |
toDatastoreType(java.time.YearMonth ym)
Method to convert the passed member value to the datastore type.
|
java.time.YearMonth |
toMemberType(int[] vals)
Method to convert the passed datastore value to the member type.
|
public java.time.YearMonth toMemberType(int[] vals)
TypeConvertertoMemberType in interface TypeConverter<java.time.YearMonth,int[]>vals - Value from the datastorepublic int[] toDatastoreType(java.time.YearMonth ym)
TypeConvertertoDatastoreType in interface TypeConverter<java.time.YearMonth,int[]>ym - Value from the memberpublic Class[] getDatastoreColumnTypes()
MultiColumnConvertergetDatastoreColumnTypes in interface MultiColumnConverterCopyright © 2020. All rights reserved.