MetaEntityAttr class

Index

Constructors

Public Properties

Public Methods

Constructors


constructor

The default constructor. ⊕ new MetaEntityAttr(entity: MetaEntity): MetaEntityAttr

Parameters:


Public Properties


caption

The caption.

● caption: string


captionPlural

The caption in plural form.

● captionPlural: string


dataAttr

● dataAttr: string


dataType

● dataType: DataType


defaultEditor

The default editor.

● defaultEditor: ValueEditor


description

The description.

● description: string


displayFormat

The display format for the attribute

● displayFormat?: string


entity

The parent

● entity: MetaEntity


expr

The attribute expression.

● expr: string


id

The id.

● id: string


isEditable

The value indicating wether the attribute is editable.

● isEditable: boolean


isForeignKey

The value indicating wether the attribute is a primary key.

● isForeignKey: boolean


isNullable

The value indicating wether the attribute can be null key.

● isNullable: boolean


isPrimaryKey

The value indicating wether the attribute is a primary key.

● isPrimaryKey: boolean


kind

The kind.

● kind: EntityAttrKind


lookupAttr

The lookupAttr.

● lookupAttr: string


lookupDataAttr

● lookupDataAttr: string


lookupEntity

● lookupEntity: string


showInLookup

The value indicating wether the attribute is shown in Lookup Editor.

● showInLookup: boolean


showOnCreate

The value indicating wether the attribute is shown create page.

● showOnCreate: boolean


showOnEdit

The value indicating wether the attribute is shown edit page.

● showOnEdit: boolean


showOnView

The value indicating wether the attribute is shown on view page.

● showOnView: boolean


size

● size: number


userData

User data

● userData?: string


Public Methods


loadFromData

Loads entity attribute from JSON representation object.

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

Parameters:

Returns void