How to store Java enum classes when using Realm?
From their documentation, it seems like Realm is yet to support storing enums:
Field types Realm supports the following field types: boolean, byte, short, ìnt, long, float, double, String, Date and byte[]. The integer types byte, short, int, and long are all mapped to the same type (long actually) within Realm. Moreover, subclasses of RealmObject and RealmList are supported to model relationships.
There are similar question that was asked for Objective-C and got answered here. None yet for Java though.