Language

Models. Language

A data model for languages.

Constructor

new Language(data)

Create a new Language.

Source:
Parameters:
Name Type Description
data Object

The data for this Language model.

Extends

Members

additionalNames :Array.<AdditionalName>

An Array of additional names for this language.

Default Value:
  • []
Source:
Type:

analysisLanguages :Array.<AnalysisLanguage>

An array of analysis languages for this language.

Default Value:
  • [English]
Source:
Type:

autonym :Transcription

The autonym for this language, as a Transcription.

Source:
Type:
  • Transcription

(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

name

The scientific name for this language, as a MultiLangString.

Source:

orthographies :Array.<Orthography>

An Array of orthographies for this language.

Default Value:
  • []
Source:
Type:
  • Array.<Orthography>

(constant) type :String

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

Overrides:
Source:
Type:
  • String