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)
TypeConvertertoMemberType in interface TypeConverter<Calendar,Object[]>ts - Value from the datastorepublic Object[] toDatastoreType(Calendar cal)
TypeConvertertoDatastoreType in interface TypeConverter<Calendar,Object[]>cal - Value from the memberpublic Class[] getDatastoreColumnTypes()
MultiColumnConvertergetDatastoreColumnTypes in interface MultiColumnConverterCopyright © 2016. All rights reserved.