RealmClass

interface RealmClass

A RealmClass describing the object model of a specific class.

Properties

Link copied to clipboard
abstract val kind: RealmClassKind

Returns what type of Realm model class this is.

Link copied to clipboard
abstract val name: String

The name of the object model.

Link copied to clipboard
abstract val primaryKey: RealmProperty?

The primary key property of the object model or null if the object model doesn't have a primary key.

Link copied to clipboard

The properties of the object model.

Functions

Link copied to clipboard
abstract operator fun get(key: String): RealmProperty?

Index operator to lookup a specific RealmProperty from its persisted property name.