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