RealmClass

interface RealmClass

A RealmClass describing the object model of a specific class.

Functions

get
Link copied to clipboard
abstract operator fun get(key: String): RealmProperty?
Index operator to lookup a specific RealmProperty from it's property name.

Properties

name
Link copied to clipboard
abstract val name: String
The name of the object model.
primaryKey
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.
properties
Link copied to clipboard
abstract val properties: Collection<RealmProperty>
The properties of the object model.