Represents entity attribute.
Index
Constructors
Public Properties
- caption
- dataType
- defaultEditor
- defaultOperator
- description
- entity
- expr
- id
- lookupAttr
- operators
- params
- size
- useInConditions
- useInResult
- useInSorting
Public Methods
Constructors
constructor
The default constructor. ⊕ new EntityAttr(entity: Entity): EntityAttr
Parameters:
- entity: Entity
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
entity
The parent
● entity: Entity
expr
The attribute expression.
● expr: 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
useInConditions
The value indicating whether the attribute can be used in query conditions.
● useInConditions: boolean
useInResult
The value indicating whether the attribute can be used in result columns (SELECT
clause).
● useInResult: boolean
useInSorting
The value indicating whether the attribute can be used in sorting.
● useInSorting: 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