Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /
io.realm

Enum FieldAttribute

java.lang.Object
io.realm.FieldAttribute

Esta clase contiene todos los atributos de dominio para un campo de dominio. Estos suelen coincidir con las anotaciones que se encuentran en el io.realm.annotation paquete. Consulte la anotación correspondiente para obtener más información sobre cada modificador.

Enum Constant and Description

INDEXED

Marks a field as indexed.

PRIMARY_KEY

Marks a field as a primary key.

REQUERIDO

Marca un campo como que explícitamente no permite valores nulos.

Modificador y Tipo
Método y descripción

public static FieldAttribute

public static FieldAttribute

  • Methods inherited from class java.lang.Object : getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

  • Métodos heredados de la clase java.lang.Enum : name , ordinal , toString , equals , hashCode , clone , compareTo , getDeclaringClass , valueOf , finalize

public static final FieldAttribute

Marks a field as indexed.

public static final FieldAttribute

Marca un campo como clave principal. Esto también lo marca implícitamente como INDEXADO.

public static final FieldAttribute

Marks a field as explicitly not allowing null values. The default behavior for allowing null depends on the type of the field.

public static FieldAttribute valueOf (
String name
)
public static FieldAttribute values ()

Volver

DynamicRealmObject

En esta página