Docs Menu

Docs HomeRealm

Annotation Type RealmField

On this page

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

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

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 RealmClassAnnotation Type RealmModule →
Share Feedback
© 2023 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2023 MongoDB, Inc.