Supported field types
denis-itskovich edited this page May 13, 2015
·
7 revisions
Following types can be used as field types:
-
Primitives:
int
,short
,long
,float
,double
,byte
-
Standard classes:
java.lang.String
,java.util.Date
-
Binary:
byte[]
,any serializable(will be supported soon) - Enums: any user defined enums
-
Relational: any class, annotated by
@GenerateEntity
On Android/SQLite following Parcelable
classes can be used as well:
-
Location
,Address
,Bitmap
,Uri
,Bundle
,Gesture
,Intent
Any custom type support can be added. See custom field types.