Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
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.

Modificador y Tipo
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.

Nombre

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.

Por defecto: ""

Tip

Valor

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.

Por defecto: ""

Volver

RealmClass

En esta página