net.sourceforge.jpalm.mobiledb.field.type
Interface Type<T>

Type Parameters:
T - the native type for this MobileDB type
All Known Implementing Classes:
Checkbox, Date, Email, ListOption, Number, Phone, Text, Time, URL

public interface Type<T>

A field type in a MobileDB record.


Method Summary
 T getValue()
          Gets the native object for this type.
 java.lang.String toMobileDB()
          Gets the MobileDB value for this type.
 

Method Detail

getValue

T getValue()
Gets the native object for this type.

Returns:
the native object

toMobileDB

java.lang.String toMobileDB()
Gets the MobileDB value for this type.

Returns:
the MobileDB value