public class CalendarComponentsConverter extends Object implements TypeConverter<Calendar,Object[]>, MultiColumnConverter
Constructor and Description |
---|
CalendarComponentsConverter() |
Modifier and Type | Method and Description |
---|---|
Class[] |
getDatastoreColumnTypes()
Accessor for the java types of the datastore columns.
|
Object[] |
toDatastoreType(Calendar cal)
Method to convert the passed member value to the datastore type.
|
Calendar |
toMemberType(Object[] ts)
Method to convert the passed datastore value to the member type.
|
public Calendar toMemberType(Object[] ts)
TypeConverter
toMemberType
in interface TypeConverter<Calendar,Object[]>
ts
- Value from the datastorepublic Object[] toDatastoreType(Calendar cal)
TypeConverter
toDatastoreType
in interface TypeConverter<Calendar,Object[]>
cal
- Value from the memberpublic Class[] getDatastoreColumnTypes()
MultiColumnConverter
getDatastoreColumnTypes
in interface MultiColumnConverter
Copyright © 2015. All rights reserved.