Skip to content

MetaEntityAttr class


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



The caption.

● caption: string


The caption in plural form.

● captionPlural: string


● dataAttr: string


● dataType: DataType


The default editor.

● defaultEditor: ValueEditor


The description.

● description: string


The display format for the attribute

● displayFormat?: string


The parent

● entity: MetaEntity


The attribute expression.

● expr: string


The id.

● id: string


The value indicating wether the attribute is editable.

● isEditable: boolean


The value indicating wether the attribute is a primary key.

● isForeignKey: boolean


The value indicating wether the attribute can be null key.

● isNullable: boolean


The value indicating wether the attribute is a primary key.

● isPrimaryKey: boolean


The kind.

● kind: EntityAttrKind


The lookupAttr.

● lookupAttr: string


● lookupDataAttr: string


● lookupEntity: string


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

● showInLookup: boolean


The value indicating wether the attribute is shown create page.

● showOnCreate: boolean


The value indicating wether the attribute is shown edit page.

● showOnEdit: boolean


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

● showOnView: boolean


● size: number


User data

● userData?: string



Loads entity attribute from JSON representation object.

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

Returns void