Represents a logical expression or predicate, like comparisions or LIKE
predicate.
Index
Constructors
Public Properties
- appliedTypes
- caption
- caseIns
- constValueFormat
- defaultOperand
- displayFormat
- expr
- id
- isRange
- operands
- paramCount
Public Methods
Constructors
constructor
The default constructor. ⊕ new Operator(): Operator
Public Properties
appliedTypes
● appliedTypes: DataType
[]
caption
The operator caption.
● caption: string
caseIns
The value indicating whether the operator is case insensative.
● caseIns: boolean
constValueFormat
● constValueFormat: string
defaultOperand
● defaultOperand: Operand
displayFormat
The display format of operator.
● displayFormat: string
expr
● expr: string
id
The operator ID.
● id: string
isRange
The value indicating whether this operator requires range values so first value must be less than the second one.
● isRange: boolean
operands
The operands for this operator.
● operands: Operand[]
paramCount
The number of parameters which are taken by the operator.
● paramCount: number
Public Methods
loadFromData
Loads operator from its JSON representation object.
▸ loadFromData(model: DataModel,data: OperatorData): void
Parameters:
- model: DataModel - The Data Model.
- data: OperatorData - The JSON representation object.
Returns void