EntityAttr class
Represents entity attribute.
- caption
- dataType
- defaultEditor
- defaultOperator
- description
- id
- lookupAttr
- operators
- params
- size
- sqlExpr
- usedInCondition
- usedInResult
- usedInSorting
Constructors
Section titled “Constructors”constructor
Section titled “constructor”The default constructor. ⊕ new EntityAttr(): EntityAttr
Public Properties
Section titled “Public Properties”caption
Section titled “caption”The caption.
● caption: string
dataType
Section titled “dataType”● dataType: DataType
defaultEditor
Section titled “defaultEditor”The default editor.
● defaultEditor: ValueEditor
defaultOperator
Section titled “defaultOperator”The default operator.
● defaultOperator: string
description
Section titled “description”The description.
● description: string
The id.
● id: string
lookupAttr
Section titled “lookupAttr”The lookupAttr.
● lookupAttr: string
operators
Section titled “operators”The list of operators which can be applied for this attribute.
● operators: string
[]
params
Section titled “params”The parameters associated with this entity attribute
● params: QueryParam[] = []
● size: number
sqlExpr
Section titled “sqlExpr”The attribute expression.
● sqlExpr: string
usedInCondition
Section titled “usedInCondition”The value indicating whether the attribute can be used in query conditions.
● usedInCondition: boolean
usedInResult
Section titled “usedInResult”The value indicating whether the attribute can be used in result columns (SELECT
clause).
● usedInResult: boolean
usedInSorting
Section titled “usedInSorting”The value indicating whether the attribute can be used in sorting.
● usedInSorting: boolean
Public Methods
Section titled “Public Methods”loadFromData
Section titled “loadFromData”Loads entity attribute from JSON representation object.
▸ loadFromData(model: DataModel,data: EntityAttrData): void
Parameters:
Section titled “Parameters:”- model: DataModel - The Data Model.
- data: EntityAttrData - The JSON representation object.
Returns void