Skip to content

EntityAttr class

Represents entity attribute.


The default constructor. ⊕ new EntityAttr(entity: Entity): EntityAttr



The caption.

● caption: string


● dataType: DataType


The default editor.

● defaultEditor: ValueEditor


The default operator.

● defaultOperator: string


The description.

● description: string


The parent

● entity: Entity


The attribute expression.

● expr: string


The id.

● id: string


The lookupAttr.

● lookupAttr: string


The list of operators which can be applied for this attribute.

● operators: string[]


The parameters associated with this entity attribute

● params: QueryParam[] = []


● size: number


The value indicating whether the attribute can be used in query conditions.

● useInConditions: boolean


The value indicating whether the attribute can be used in result columns (SELECT clause).

● useInResult: boolean


The value indicating whether the attribute can be used in sorting.

● useInSorting: boolean



Loads entity attribute from JSON representation object.

▸ loadFromData(model: DataModel,data: EntityAttrData): void

Returns void