Package io.realm.annotations
Annotation Type RealmField
-
@Retention(RUNTIME) @Target(FIELD) @Inherited public @interface RealmField
Annotation used on fields in Realm model classes. It describes metadata about the field.
-
-
Element Detail
-
value
String value
Manually set the internal name used by Realm for this field. This will override anyRealmNamingPolicy
set on the class or the module.- Default:
- ""
-
-
-
name
String name
Manually set the internal name used by Realm for this field. This will override anyRealmNamingPolicy
set on the class or the module.- Default:
- ""
-
-