Docs Menu
Docs Home
/ /
Atlas Device SDKs
/ / /

Annotation Type RealmField

On this page

  • io.realm.annotations
  • Optional Element Summary
  • Element Detail

Implemented interfaces:

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

See also:

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: ""

← Annotation Type RealmClass