HED JavaScript Library
    Preparing search index...

    A generic schema entry.

    Hierarchy (View Summary)

    Index
    • Constructor.

      Parameters

      • name: string

        The name of this schema entry.

      • description: string | undefined

        The description of this schema entry.

      Returns default

    _description: string | undefined

    The description of this schema entry.

    _name: string

    The name of this schema entry.

    • Determine if this schema entry is equivalent to another schema entry.

      Schema entries are equivalent if they have the same name and description. Subclasses compare more.

      Parameters

      • other: any

        A schema entry to compare with this one.

      Returns boolean

      Whether the other entry is equivalent to this schema entry.

    • Whether this schema entry has this attribute (by name).

      This method is a stub to be overridden in SchemaEntryWithAttributes.

      Parameters

      • attributeName: string

        The attribute to check for.

      Returns boolean

      Whether this schema entry has this attribute.