Docs Menu

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

About

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