Generic Document Type

Hierarchy

  • PartiallyConstructible
    • Type

Constructors

  • Parameters

    • Optional source: {
          fullName?: string;
          listIndex?: null | number;
          name?: string;
          normalizedName?: string;
      }
      • Optional fullName?: string

        Unique global document type name prefixed with the document types of all containing documents

      • Optional listIndex?: null | number

        A document can contain multiple fields of the same name, the property serves for storing natural order of such fields, null if multiple entries aren't allowed for this field

      • Optional name?: string

        Local document type name

      • Optional normalizedName?: string

        Normalized global document type name. Common document types appearing as child documents in different places will often have the same normalized type name.

    Returns GenericDocument.Type

Properties

fullName: string

Unique global document type name prefixed with the document types of all containing documents

listIndex: null | number

A document can contain multiple fields of the same name, the property serves for storing natural order of such fields, null if multiple entries aren't allowed for this field

name: string

Local document type name

normalizedName: string

Normalized global document type name. Common document types appearing as child documents in different places will often have the same normalized type name.