@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface RealmClass
| Modifier and Type | Optional Element and Description |
|---|---|
RealmNamingPolicy |
fieldNamingPolicy
The naming policy applied to all fields in this class.
|
String |
name
Manually set the internal name used by Realm for this class.
|
String |
value
Manually set the internal name used by Realm for this class.
|
public abstract String value
RealmModule.classNamingPolicy().public abstract String name
RealmModule.classNamingPolicy().public abstract RealmNamingPolicy fieldNamingPolicy
RealmNamingPolicy.NO_POLICY.
It is possible to override the naming policy for each field by using the RealmField annotation.