io.realm.annotations
Implemented interfaces:
Interface used to mark a class that can be persisted by Realm.
Resumen de elementos opcionales
Modificador y Tipo | Optional Element and Description |
|---|---|
public booleano | Definir los objetos de este tipo como "Incrustados". |
public RealmNamingPolicy | The naming policy applied to all fields in this class. |
public String | Manually set the internal name used by Realm for this class. |
public String | Manually set the internal name used by Realm for this class. |
Element Detail
integrado | ||
|---|---|---|
Define objects of this type as "Embedded". Embedded objects have a slightly different behavior than normal objects:
Por defecto:
|
fieldNamingPolicy |
|---|
The naming policy applied to all fields in this class. The default policy is RealmNamingPolicy.NO_POLICY . Es posible anular la política de nombres para cada campo utilizando la anotación RealmField. Por defecto:
|
Nombre |
|---|
Manually set the internal name used by Realm for this class. If this class is part of any modules, this will also override any name policy set using RealmModule.classNamingPolicy() . Por defecto:
|
Valor |
|---|
Manually set the internal name used by Realm for this class. If this class is part of any modules, this will also override any name policy set using RealmModule.classNamingPolicy() . Por defecto:
|