HED JavaScript Library
    Preparing search index...

    Class SchemaAttribute

    A schema attribute.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _categoryProperties: Set<SchemaProperty>

    The categories of elements this schema attribute applies to.

    _name: string

    The name of this schema entry.

    _roleProperties: Set<SchemaProperty>

    The set of role properties for this schema attribute.

    _typeProperty: SchemaProperty

    The data type of this schema attribute.

    Accessors

    • get name(): string

      The name of this schema entry.

      Returns string

    Methods

    • Protected

      Memoize a property.

      Type Parameters

      • T

      Parameters

      • propertyName: string

        The property name.

      • valueComputer: () => T

        A function to compute the property's value.

      Returns T

      The computed value.