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)
TypeConverter
toMemberType
in interface TypeConverter<java.time.YearMonth,int[]>
vals
- Value from the datastorepublic int[] toDatastoreType(java.time.YearMonth ym)
TypeConverter
toDatastoreType
in interface TypeConverter<java.time.YearMonth,int[]>
ym
- Value from the memberpublic Class[] getDatastoreColumnTypes()
MultiColumnConverter
getDatastoreColumnTypes
in interface MultiColumnConverter
Copyright © 2018. All rights reserved.