EditableDatum

data class EditableDatum<T>(var active: Boolean, var datum: T)

An entry in the table.

Associates a datum with a boolean that indicates whether the datum is active. The datum can be "edited" by changing its reference to another datum.

Parameters

T

the type of datum

Constructors

Link copied to clipboard
fun <T> EditableDatum(active: Boolean, datum: T)

Properties

Link copied to clipboard
var active: Boolean

whether the entry is active

Link copied to clipboard
var datum: T

a reference to a piece of data

Sources

Link copied to clipboard