Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MetaElement

A MetaElement represents an element of the meta-model.

MetaElements are mutable

specfield

id (string) : unique identifier of the MetaElement

specfield

name (string): name of the MetaElement

Hierarchy

Index

Constructors

constructor

Properties

Private id

id: string

Private name

name: string

Methods

getId

  • getId(): string

getName

  • getName(): string

isValid

  • isValid(): boolean

setId

  • setId(id: string): void

Abstract toJSON

Abstract toModelFormat

Static createMapFromArray

  • createMapFromArray<MetaElementType>(elements: Array<MetaElementType>): Map<string, MetaElementType>
  • willreturn

    A Map storing all the MetaElements stored in elements, using elements's id as map identifier

    Type parameters

    Parameters

    • elements: Array<MetaElementType>

      MetaElements to be stored into a map

    Returns Map<string, MetaElementType>

Generated using TypeDoc