app / me.argraur.notes.entities / Note

Note

class Note

Note entity

Types

Entry

Used by DatabaseHelper and NoteManager

object Entry : BaseColumns

Constructors

<init>

Note(title: String, value: String)
Note(title: String, value: String, color: Int)
Note(title: String, value: String, color: Int, time: Long)

Functions

getColor

fun getColor(): Int

getTime

fun getTime(): Long

getTitle

fun getTitle(): String

getValue

fun getValue(): String

setColor

Sets color and returns Note object

fun setColor(color: Int): Note

setTime

Sets time and returns Note object

fun setTime(time: Long): Note

setTitle

Sets title and returns Note object

fun setTitle(title: String): Note

setValue

Sets value and returns Note object

fun setValue(value: String): Note