Note

Models. Note

A class representing a note.

Constructor

new Note(data)

Create a new Note.

Source:
Parameters:
Name Type Description
data Object

The note data.

Extends

Members

(readonly) cid :UUID

The client ID for this model. Generated on instantiation if not already present.

Overrides:
Source:
Type:
  • UUID

(readonly) dateCreated :Date

The date that the data for this model were originally created. Generated on instantiation if not already present.

Overrides:
Source:
Type:
  • Date

dateModified :Date

The date that the data for this model were last modified. Generated on instantiation if not already present.

Overrides:
Source:
Type:
  • Date

language :String

The language of this note.

Default Value:
  • "English"
Source:
Type:
  • String

noteType :String

The type of note.

Default Value:
  • "general"
Source:
Type:
  • String

source :String

The source of this note.

Default Value:
  • ""
Source:
Type:
  • String

text :String

The text of this note.

Default Value:
  • ""
Source:
Type:
  • String

(constant) type :String

The type for this model, e.g. Language, Text, Lexeme, etc.

Overrides:
Source:
Type:
  • String