io.realm
Class that wraps a normal RealmObject in order to allow dynamic access instead of a typed interface. Using a DynamicRealmObject is slower than using the regular RealmObject class.
Constructores
Constructor and Description |
|---|
Creates a dynamic Realm object based on an existing object. |
Resumen del método
Modificador y Tipo | Método y descripción |
|---|---|
public booleano | |
public E | |
public byte | |
public booleano | Returns the |
public byte | |
public Date | |
público Decimal128 | Returns the |
público RealmDictionary | Returns the RealmDictionary containing only primitive values. |
público RealmDictionary | Returns the RealmDictionary of DynamicRealmObject s being linked from the given field. |
public double | |
Devuelve la instancia de DynamicRealm donde pertenece este DynamicRealmObject. | |
public String | Returns the list of field names on this object. |
public RealmFieldType | Returns the type used by the underlying storage engine to represent this field. |
public float | |
public int | |
public RealmList | Returns the RealmList containing only primitive values. |
public RealmList | Devuelve la RealmList de DynamicRealmObject vinculados desde el campo proporcionado. |
public long | |
objeto público de DynamicRealmObject | |
public ObjectId | Returns the |
público RealmAny | Returns the |
public RealmSet | Devuelve el RealmSet que contiene únicamente valores primitivos. |
public RealmSet | Returns the RealmSet of DynamicRealmObject s being linked from the given field. |
público short | |
public String | |
public String | getType () Returns the type of object. |
public UUID | |
public booleano | |
public int | hashCode () Returns a hash code value for the DynamicRealmObject object. |
public booleano | |
public RealmResults | Returns RealmResults containing all |
public void | |
public ProxyState | |
public void | |
public void | |
public void | Establece el valor |
public void | |
public void | |
public void | Establece el valor |
public void | Sets the reference to a RealmDictionary on the given field. |
public void | |
public void | |
public void | |
public void | Establece la referencia a una RealmList en el campo dado. |
public void | |
public void | |
public void | Establece una referencia a otro objeto en el campo dado. |
public void | Establece el valor |
public void | Establece el valor |
public void | Establece la referencia a un RealmSet en el campo dado. |
public void | |
public void | |
public void | |
public String | toString () |
Inherited Methods
Methods inherited from class java.lang.Object :
getClass,hashCode,equals,clone,toString,notify,notifyAll,wait,wait,wait,finalizeMethods inherited from class io.realm.RealmObject :
deleteFromRealm,deleteFromRealm,isValid,isValid,isFrozen,freeze,isFrozen,freeze,isLoaded,isLoaded,isManaged,isManaged,getRealm,getRealm,load,load,addChangeListener,addChangeListener,addChangeListener,addChangeListener,removeChangeListener,removeChangeListener,removeChangeListener,removeChangeListener,removeAllChangeListeners,removeAllChangeListeners,asFlowable,asChangesetObservable,asFlowable,asChangesetObservable
Detalle del constructor
Creates a dynamic Realm object based on an existing object. Parámetros
|
Detalle del método
equals
Obtener
Returns the value for the given field. Parámetros
Devuelve the field value. Throws
|
getBlob
Returns the Parámetros
Devuelve the byte[] value. Throws
|
getBoolean
Returns the If the field is nullable, use isNull(String) to check for Parámetros
Devuelve the boolean value. Throws
|
getByte
Returns the If the field is nullable, use isNull(String) to check for Parámetros
Devuelve the byte value. Throws
|
getDate
Returns the Parámetros
Devuelve the Date value. Throws
|
obtenerDecimal128
Returns the Parámetros
Devuelve the Decimal128 value. Throws
|
getDictionary
Returns the RealmDictionary containing only primitive values. If the dictionary contains references to other Realm objects, use getDictionary(String) instead. Parámetros
Devuelve the RealmDictionary data for this field. Throws
|
Returns the RealmDictionary of DynamicRealmObject s being linked from the given field. Si el diccionario contiene tipos primitivos, usa en su lugar getDictionary(String, clase). Parámetros
Devuelve the RealmDictionary data for this field. Throws
|
getDouble
Returns the If the field is nullable, use isNull(String) to check for Parámetros
Devuelve el doble valor. Throws
|
getDynamicRealm
public DynamicRealm getDynamicRealm () |
|---|
Devuelve la instancia de DynamicRealm donde pertenece este DynamicRealmObject. No debe llamar a DynamicRealm.close() contra la instancia devuelta. Devuelve DynamicRealm instance where this object belongs. Throws
|
getFieldNames
public String getFieldNames () |
|---|
Returns the list of field names on this object. Devuelve lista de nombres de campos de este objeto o la lista vacía si el objeto no tiene ningún campo. |
getFieldType
Returns the type used by the underlying storage engine to represent this field. Devuelve tipo subyacente que utiliza Realm para representar este campo. |
getFloat
Returns the If the field is nullable, use isNull(String) to check for Parámetros
Devuelve the float value. Throws
|
getInt
Returns the If the field is nullable, use isNull(String) to check for Parámetros
Devuelve the int value. Integer values exceeding Throws
|
getList
Returns the RealmList containing only primitive values. If the list contains references to other Realm objects, use getList(String) instead. Parámetros
Devuelve the RealmList data for this field. Throws
|
Devuelve la RealmList de DynamicRealmObject vinculados desde el campo proporcionado. If the list contains primitive types, use getList(String, Class) instead. Parámetros
Devuelve the RealmList data for this field. Throws
|
getLong
Returns the If the field is nullable, use isNull(String) to check for Parámetros
Devuelve the long value. Integer values exceeding Throws
|
getObject
Returns the object being linked to from this field. Parámetros
Devuelve la representación DynamicRealmObject del objeto vinculado o Throws
|
getObjectId
Returns the Parámetros
Devuelve el valor ObjectId. Throws
|
getRealmAny
Returns the Parámetros
Devuelve the RealmAny value. Throws
|
getRealmSet
Devuelve el RealmSet que contiene únicamente valores primitivos. If the set contains references to other Realm objects, use getRealmSet(String) instead. Parámetros
Devuelve the RealmSet data for this field. Throws
|
Returns the RealmSet of DynamicRealmObject s being linked from the given field. Si el conjunto contiene tipos primitivos, utilice getRealmSet(String, Class) en su lugar. Parámetros
Devuelve the RealmSet data for this field. Throws
|
obtener corto
Returns the If the field is nullable, use isNull(String) to check for Parámetros
Devuelve El valor corto. Los valores enteros superiores a Throws
|
getString
Returns the Parámetros
Devuelve el valor de la cadena. Throws
|
getType
Returns the type of object. This will normally correspond to the name of a class that is extending RealmObject . Devuelve this objects type. |
getUUID
Returns the Parámetros
Devuelve the UUID value. Throws
|
tieneCampo
hashCode
public int hashCode () |
|---|
Returns a hash code value for the DynamicRealmObject object. Según el contrato general de Object.hashCode() , cualquier dos objetos para los que equals devuelve Tenga en cuenta que un RealmObject es un objeto activo y puede actualizarse con cambios de otros subprocesos. Esto significa que el valor del código hash del objeto no es estable y no debe usarse como clave en HashMap ni guardarse en HashSet. Devuelve un valor de código hash para el objeto. Anulaciones
Tip |
isNull
Checks if the value of a given field is Parámetros
Devuelve
Throws
|
objetos de enlace
Returns RealmResults containing all Se agrega una entrada para cada referencia, por ejemplo, si la misma referencia aparece en una lista varias veces, el objeto src aparecerá aquí varias veces. Parámetros
Devuelve el resultado. Throws
|
realm$injectObjectContext
public void realm$injectObjectContext () |
|---|
realmGet$proxyState
public ProxyState realmGet$proxyState () |
|---|
conjunto
Sets the value for the given field. This method will automatically try to convert numbers and booleans that are given as Using the typed setters will be faster than using this method. Throws
|
setBlob
Sets the binary value of the given field. Parámetros
Throws
|
setBoolean
Establece el valor Parámetros
Throws
|
setByte
Establece el valor Parámetros
Throws
|
setDate
Establece el valor Parámetros
Throws
|
setDecimal128
Establece el valor Parámetros
Throws
|
setDictionary
Sets the reference to a RealmDictionary on the given field. This will copy all the elements in the dictionary into Realm, but any further changes to the dictionary will not be reflected in the Realm. Use getDictionary(String) in order to get a reference to the managed dictionary. Parámetros
Throws
|
setDouble
Establece el valor Parámetros
Throws
|
setFloat
Establece el valor Parámetros
Throws
|
setInt
Establece el valor Parámetros
Throws
|
setList
Establece la referencia a una RealmList en el campo dado. This will copy all the elements in the list into Realm, but any further changes to the list will not be reflected in the Realm. Use getList(String) in order to get a reference to the managed list. Parámetros
Throws
|
setLong
Establece el valor Parámetros
Throws
|
setNull
Sets the value to Parámetros
Throws
|
setObject
Establece una referencia a otro objeto en el campo dado. Parámetros
Throws
|
setObjectId
Establece el valor Parámetros
Throws
|
setRealmAny
Establece el valor Parámetros
Throws
|
setRealmSet
Establece la referencia a un RealmSet en el campo dado. This will copy all the elements in the set into Realm, but any further changes to the set will not be reflected in the Realm. Use getRealmSet(String) in order to get a reference to the managed set. Parámetros
Throws
|
setShort
Establece el valor Parámetros
Throws
|
setString
Establece el valor Parámetros
Throws
|
setUUID
Establece el valor Parámetros
Throws
|