Skip to content

MetaEntity class

Represents one entity.


The default constructor. ⊕ new MetaEntity(parent?: MetaEntity): MetaEntity



List of Attributes that belong to this entity.

● attributes: MetaEntityAttr[]


The caption of entity attr.

● caption: string


The caption of entity attr in plural form.

● captionPlural: string


The description of entity.

● description: string


The id.

● id: string


The name of entity.

● name: string


The parent.

● parent: MetaEntity


List of sub entities that belong to this entity.

● subEntities: MetaEntity[]



Loads entity from its JSON representation object.

▸ loadFromData(model: MetaData,dto: MetaEntityDTO): void

Returns void


▸ scan(processAttribute?: (attr: MetaEntityAttr, opts: any) => void,processEntity?: (entity: MetaEntity, opts: any) => void): void

  • processAttribute: (attr: MetaEntityAttr, opts: any) => void, Optional
  • processEntity: (entity: MetaEntity, opts: any) => void, Optional

Returns void