Package io.realm
Class ProxyState<E extends RealmModel>
- java.lang.Object
-
- io.realm.ProxyState<E>
-
- All Implemented Interfaces:
io.realm.internal.PendingRow.FrontEnd
public final class ProxyState<E extends RealmModel> extends Object implements io.realm.internal.PendingRow.FrontEnd
This implementsRealmObjectProxyinterface, to eliminate copying logic betweenRealmObjectandDynamicRealmObject.
-
-
Constructor Summary
Constructors Constructor Description ProxyState()ProxyState(E model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChangeListener(RealmObjectChangeListener<E> listener)voidcheckValidObject(RealmModel value)Check that object is a valid and managed object by this Realm.booleangetAcceptDefaultValue$realm()List<String>getExcludeFields$realm()io.realm.BaseRealmgetRealm$realm()io.realm.internal.RowgetRow$realm()booleanisLoaded()booleanisUnderConstruction()voidload()voidonQueryFinished(io.realm.internal.Row row)voidremoveAllChangeListeners()voidremoveChangeListener(RealmObjectChangeListener<E> listener)voidsetAcceptDefaultValue$realm(boolean acceptDefaultValue)voidsetConstructionFinished()voidsetExcludeFields$realm(List<String> excludeFields)voidsetRealm$realm(io.realm.BaseRealm realm)voidsetRow$realm(io.realm.internal.Row row)
-
-
-
Constructor Detail
-
ProxyState
public ProxyState()
-
ProxyState
public ProxyState(E model)
-
-
Method Detail
-
getRealm$realm
public io.realm.BaseRealm getRealm$realm()
-
setRealm$realm
public void setRealm$realm(io.realm.BaseRealm realm)
-
getRow$realm
public io.realm.internal.Row getRow$realm()
-
setRow$realm
public void setRow$realm(io.realm.internal.Row row)
-
getAcceptDefaultValue$realm
public boolean getAcceptDefaultValue$realm()
-
setAcceptDefaultValue$realm
public void setAcceptDefaultValue$realm(boolean acceptDefaultValue)
-
addChangeListener
public void addChangeListener(RealmObjectChangeListener<E> listener)
-
removeChangeListener
public void removeChangeListener(RealmObjectChangeListener<E> listener)
-
removeAllChangeListeners
public void removeAllChangeListeners()
-
isUnderConstruction
public boolean isUnderConstruction()
-
setConstructionFinished
public void setConstructionFinished()
-
isLoaded
public boolean isLoaded()
-
load
public void load()
-
onQueryFinished
public void onQueryFinished(io.realm.internal.Row row)
- Specified by:
onQueryFinishedin interfaceio.realm.internal.PendingRow.FrontEnd
-
checkValidObject
public void checkValidObject(RealmModel value)
Check that object is a valid and managed object by this Realm. Used by proxy classes to verify input.- Parameters:
value- model object
-
-