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 implementsRealmObjectProxy
interface, to eliminate copying logic betweenRealmObject
andDynamicRealmObject
.
-
-
Constructor Summary
Constructors Constructor Description ProxyState()
ProxyState(E model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChangeListener(RealmObjectChangeListener<E> listener)
void
checkValidObject(RealmModel value)
Check that object is a valid and managed object by this Realm.boolean
getAcceptDefaultValue$realm()
List<String>
getExcludeFields$realm()
io.realm.BaseRealm
getRealm$realm()
io.realm.internal.Row
getRow$realm()
boolean
isLoaded()
boolean
isUnderConstruction()
void
load()
void
onQueryFinished(io.realm.internal.Row row)
void
removeAllChangeListeners()
void
removeChangeListener(RealmObjectChangeListener<E> listener)
void
setAcceptDefaultValue$realm(boolean acceptDefaultValue)
void
setConstructionFinished()
void
setExcludeFields$realm(List<String> excludeFields)
void
setRealm$realm(io.realm.BaseRealm realm)
void
setRow$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:
onQueryFinished
in 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
-
-