Docs Menu
Docs Home
/ /
io.realm.annotations

Annotation Type RealmField

Implemented interfaces:

  • java.lang.annotation.Annotation

Annotation used on fields in Realm model classes. It describes metadata about the field.

Modifier and Type
Optional Element and Description

public String

Manually set the internal name used by Realm for this field.

public String

Manually set the internal name used by Realm for this field.

name

public String name

Manually set the internal name used by Realm for this field. This will override any RealmNamingPolicy set on the class or the module.

Default: ""

Tip

value

public String value

Manually set the internal name used by Realm for this field. This will override any RealmNamingPolicy set on the class or the module.

Default: ""

Back

RealmClass

On this page