public abstract class RealmObject
extends java.lang.Object
Realm.createObject(Class)| Modifier and Type | Field and Description |
|---|---|
protected Realm |
realm |
protected Row |
row |
| Constructor and Description |
|---|
RealmObject() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid()
Check if the RealmObject is still valid to use ie.
|
void |
removeFromRealm()
Removes the object from the Realm it is currently associated to.
|
protected Row row
protected Realm realm
public void removeFromRealm()
public boolean isValid()
Realm been closed.true if the object is still accessible, false otherwise.