安装包 io.realm
ProxyState 类< Eextends RealmModel >
- java.lang.Object
-
- io.realm.ProxyState<E>
-
- 所有已实现的接口:
io.realm.internal.PendingRow.FrontEnd
public final class ProxyState<E extends RealmModel> extends Object implements io.realm.internal.PendingRow.FrontEnd
-
-
构造函数摘要
构造函数 Constructor 说明 ProxyState()
ProxyState(E model)
-
方法摘要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
addChangeListener(RealmObjectChangeListener<E> listener)
void
checkValidObject(RealmModel value)
检查该对象是否为有效且由该 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)
-
-
-
构造函数详细信息
-
ProxyState
public ProxyState()
-
ProxyState
公共 ProxyState( E模型)
-
-
方法详细信息
-
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)
-
删除所有变更监听器
public void removeAllChangeListeners()
-
isUnderConstruction
public boolean isUnderConstruction()
-
setConstructionFinished
public void setConstructionFinished()
-
isLoaded
public boolean isLoaded()
-
负载
public void load()
-
onQueryFinished
public void onQueryFinished(io.realm.internal.Row row)
- 指定者:
onQueryFinished
在接口中io.realm.internal.PendingRow.FrontEnd
-
checkValidObject
public void checkValidObject(RealmModel value)
检查该对象是否为有效且由该 Realm 托管的对象。由代理类用于验证输入。- 参数:
value
- 模型对象
-
-